Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 115.6 kB / 16.37 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 192.1 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.42/2.42, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001358, allocations: 62.88 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.295, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002791/0.2979, allocations: 1.458 MB / 1.028 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.2991, allocations: 0.7872 MB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.846e-05/0.2991, allocations: 4 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.2992, allocations: 3.984 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.077e-05/0.2992, allocations: 3.938 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004276/0.2996, allocations: 127.5 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.5e-05/0.2997, allocations: 31.92 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.487e-05/0.2998, allocations: 11.98 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.267e-05/0.2999, allocations: 19.92 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.509e-05/0.2999, allocations: 19.91 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.2999, allocations: 4 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004425/0.3004, allocations: 311.4 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.3004, allocations: 11.97 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.3004, allocations: 19.92 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.3007, allocations: 191.6 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3007, allocations: 0 / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3007, allocations: 0 / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.3008, allocations: 4 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004872/0.3012, allocations: 371.4 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.3013, allocations: 12.03 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004632/0.3018, allocations: 64.84 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.3019, allocations: 164.4 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.3019, allocations: 384 / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.3019, allocations: 4.375 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.3022, allocations: 89.88 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.3022, allocations: 0 / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.3023, allocations: 0 / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.3023, allocations: 4 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003915/0.3027, allocations: 91.89 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/0.3032, allocations: 304.7 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003522/0.3036, allocations: 98.42 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.3038, allocations: 48.88 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.3038, allocations: 8 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.3038, allocations: 30.56 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.445e-06/0.3038, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0006693/0.3045, allocations: 169.5 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.3045, allocations: 55.53 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.737e-05/0.3046, allocations: 105.8 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.3046, allocations: 25.7 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.764e-05/0.3047, allocations: 88.06 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.3047, allocations: 3.906 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.3048, allocations: 17.72 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.3049, allocations: 310.8 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.3051, allocations: 51.94 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.3053, allocations: 43.95 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/0.3056, allocations: 96.77 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3057, allocations: 0 / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000438/0.3061, allocations: 121.6 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3061, allocations: 7.984 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.3061, allocations: 0 / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.3062, allocations: 4 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.3063, allocations: 23.91 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3063, allocations: 0 / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.3064, allocations: 20.27 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.3065, allocations: 0 / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.345e-05/0.3065, allocations: 117.7 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.3066, allocations: 11.89 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.263e-05/0.3066, allocations: 7.125 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3066, allocations: 0 / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3066, allocations: 0 / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3066, allocations: 4 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.3068, allocations: 173.6 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3068, allocations: 4 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.307, allocations: 19.97 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.307, allocations: 0 / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.307, allocations: 0 / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.307, allocations: 0 / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.307, allocations: 0 / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004681/0.3075, allocations: 227.3 kB / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/0.3075, allocations: 85.05 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.3076, allocations: 0 / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.3077, allocations: 15.97 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.3077, allocations: 8 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.3078, allocations: 0 / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.736e-05/0.3078, allocations: 83.31 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3078, allocations: 0 / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002428/0.3081, allocations: 19.98 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001463/0.3082, allocations: 99.25 kB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004362/0.3086, allocations: 99.89 kB / 1.033 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3087, allocations: 3.938 kB / 1.033 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.3089, allocations: 55.95 kB / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.3092, allocations: 7.938 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005019/0.3097, allocations: 157.5 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.3099, allocations: 0.6768 MB / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.249e-05/0.31, allocations: 8 kB / 1.034 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.31, allocations: 11.44 kB / 1.034 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of SimCode: time 2.91e-07/0.31, allocations: 4 kB / 1.034 GB, free: 10.4 MB / 0.8106 GB Notification: Performance of Templates: time 0.002884/0.3129, allocations: 0.8159 MB / 1.035 GB, free: 9.59 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches