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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.287/2.287, allocations: 393.5 MB / 408.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 188 kB / 0.4902 GB, free: 2.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.683/1.683, allocations: 223.1 MB / 0.7992 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009257/0.0009261, allocations: 88.28 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.0003879, allocations: 14.09 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3559, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2027/0.5587, allocations: 151.2 MB / 1.377 GB, free: 2.375 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.559, allocations: 75.94 kB / 1.377 GB, free: 2.301 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01254/0.5716, allocations: 3.853 MB / 1.381 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5716, allocations: 0 / 1.381 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.5716, allocations: 0 / 1.381 GB, free: 14.44 MB / 0.8855 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.0005672/0.5722, allocations: 383.2 kB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.5723, allocations: 8.031 kB / 1.381 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004164/0.5727, allocations: 71.84 kB / 1.381 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.5729, allocations: 167 kB / 1.381 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.5729, allocations: 3.984 kB / 1.381 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.5729, allocations: 4 kB / 1.381 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.5733, allocations: 101.6 kB / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.5733, allocations: 0 / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.5733, allocations: 0 / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.5733, allocations: 4 kB / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004499/0.5738, allocations: 115.9 kB / 1.382 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005393/0.5743, allocations: 292.9 kB / 1.382 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003892/0.5747, allocations: 114.4 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.5747, allocations: 3.938 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.5748, allocations: 38.56 kB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.5748, allocations: 4.062 kB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0007306/0.5755, allocations: 205.5 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.5756, allocations: 55.36 kB / 1.382 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.11e-05/0.5757, allocations: 96.94 kB / 1.382 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.5757, allocations: 25.7 kB / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.5758, allocations: 88.12 kB / 1.382 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.5758, allocations: 7.906 kB / 1.382 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.625e-06/0.5758, allocations: 4.031 kB / 1.382 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.5759, allocations: 314.8 kB / 1.383 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.5761, allocations: 55.95 kB / 1.383 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.5764, allocations: 63.94 kB / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.5766, allocations: 52.02 kB / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5766, allocations: 4 kB / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004634/0.577, allocations: 137.6 kB / 1.383 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.5771, allocations: 8 kB / 1.383 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5771, allocations: 4.031 kB / 1.383 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.5771, allocations: 0 / 1.383 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.5773, allocations: 27.97 kB / 1.383 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.5773, allocations: 0 / 1.383 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.5774, allocations: 31.92 kB / 1.383 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.5775, allocations: 0 / 1.383 GB, free: 11.79 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.5776, allocations: 110.6 kB / 1.383 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/0.5776, allocations: 7.938 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.664e-05/0.5777, allocations: 3.125 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.5777, allocations: 3.984 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5777, allocations: 0 / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.5777, allocations: 3.984 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.5779, allocations: 173.6 kB / 1.383 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5779, allocations: 0 / 1.383 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.5781, allocations: 27.97 kB / 1.383 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5781, allocations: 0 / 1.383 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.5781, allocations: 4 kB / 1.383 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.5781, allocations: 3.938 kB / 1.383 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5781, allocations: 7.984 kB / 1.383 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004928/0.5786, allocations: 243.3 kB / 1.384 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.5787, allocations: 81.09 kB / 1.384 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.5787, allocations: 4 kB / 1.384 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.5789, allocations: 20.23 kB / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.5789, allocations: 7.984 kB / 1.384 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.5789, allocations: 4 kB / 1.384 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.111e-05/0.579, allocations: 87.25 kB / 1.384 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.01e-07/0.579, allocations: 0 / 1.384 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002388/0.5792, allocations: 19.94 kB / 1.384 GB, free: 10.9 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002009/0.5794, allocations: 103.2 kB / 1.384 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004749/0.5799, allocations: 119.9 kB / 1.384 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5799, allocations: 3.938 kB / 1.384 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.5802, allocations: 64 kB / 1.384 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.5804, allocations: 11.95 kB / 1.384 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005864/0.581, allocations: 172.6 kB / 1.384 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.5813, allocations: 0.6848 MB / 1.385 GB, free: 9.688 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.218e-05/0.5814, allocations: 8 kB / 1.385 GB, free: 9.68 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/0.5814, allocations: 7.438 kB / 1.385 GB, free: 9.672 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.5814, allocations: 0 / 1.385 GB, free: 9.672 MB / 0.8855 GB Notification: Performance of Templates: time 0.003068/0.5845, allocations: 0.716 MB / 1.386 GB, free: 8.961 MB / 0.8855 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 -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","../files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches