Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.209/1.209, allocations: 249.4 MB / 256.7 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009125/0.0009126, allocations: 181.3 kB / 316 MB, free: 3.574 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.081/1.081, allocations: 205.1 MB / 0.5667 GB, free: 15.72 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008568/0.0008568, allocations: 91.38 kB / 0.671 GB, free: 4.855 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.232e-06/6.262e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.142, allocations: 106.3 MB / 0.8846 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4075/0.5496, allocations: 133.1 MB / 1.015 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/0.5498, allocations: 72.28 kB / 1.015 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01284/0.5627, allocations: 3.489 MB / 1.018 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.5627, allocations: 0 / 1.018 GB, free: 2.711 MB / 0.6355 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.0004297/0.5631, allocations: 377.7 kB / 1.018 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.5632, allocations: 16.02 kB / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003787/0.5635, allocations: 71.92 kB / 1.019 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.5637, allocations: 167 kB / 1.019 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.5637, allocations: 0 / 1.019 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.5637, allocations: 0 / 1.019 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.861e-05/0.5638, allocations: 30.44 kB / 1.019 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.365e-05/0.5639, allocations: 56.47 kB / 1.019 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.5639, allocations: 0 / 1.019 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.5639, allocations: 0 / 1.019 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.5639, allocations: 0 / 1.019 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.5643, allocations: 271.3 kB / 1.019 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.07e-05/0.5644, allocations: 37.45 kB / 1.019 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.827e-05/0.5644, allocations: 16.8 kB / 1.019 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.5644, allocations: 3.938 kB / 1.019 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.5645, allocations: 34.56 kB / 1.019 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.5645, allocations: 3.938 kB / 1.019 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002674/0.5648, allocations: 75.62 kB / 1.019 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.5648, allocations: 51.41 kB / 1.019 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.703e-05/0.5648, allocations: 96.88 kB / 1.019 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.5649, allocations: 25.7 kB / 1.019 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.109e-05/0.5649, allocations: 84.12 kB / 1.019 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.5649, allocations: 11.88 kB / 1.019 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.5649, allocations: 0 / 1.019 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.047e-05/0.565, allocations: 318.8 kB / 1.02 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.69e-05/0.5651, allocations: 7.562 kB / 1.02 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.524e-05/0.5651, allocations: 11.81 kB / 1.02 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.5652, allocations: 27.77 kB / 1.02 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5652, allocations: 0 / 1.02 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001794/0.5654, allocations: 83.64 kB / 1.02 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.168e-06/0.5654, allocations: 4 kB / 1.02 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.5654, allocations: 0 / 1.02 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-06/0.5654, allocations: 0 / 1.02 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.5656, allocations: 32 kB / 1.02 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.5656, allocations: 0 / 1.02 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.5658, allocations: 31.97 kB / 1.02 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.5658, allocations: 0 / 1.02 GB, free: 0.6875 MB / 0.6355 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 () * 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 5.761e-05/0.5658, allocations: 101 kB / 1.02 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.5659, allocations: 7.906 kB / 1.02 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.117e-05/0.5659, allocations: 11.25 kB / 1.02 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.5659, allocations: 3.938 kB / 1.02 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.5659, allocations: 0 / 1.02 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.5659, allocations: 4 kB / 1.02 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.566, allocations: 152.7 kB / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.5661, allocations: 0 / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.5662, allocations: 35.84 kB / 1.02 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.5662, allocations: 0 / 1.02 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.5662, allocations: 4.25 kB / 1.02 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.5662, allocations: 4 kB / 1.02 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.5662, allocations: 3.938 kB / 1.02 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002104/0.5665, allocations: 166.7 kB / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.771e-05/0.5665, allocations: 92.38 kB / 1.02 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.5665, allocations: 0 / 1.02 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.5667, allocations: 19.98 kB / 1.02 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.5667, allocations: 11.98 kB / 1.021 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.5667, allocations: 0 / 1.021 GB, free: 28 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.629e-05/0.5668, allocations: 79.28 kB / 1.021 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002117/0.567, allocations: 19.91 kB / 1.021 GB, free: 15.93 MB / 0.6511 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 () * 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.0001296/0.5671, allocations: 115 kB / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.5673, allocations: 22.75 kB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.5673, allocations: 0 / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.822e-05/0.5673, allocations: 23.31 kB / 1.021 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.5675, allocations: 6.344 kB / 1.021 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.5678, allocations: 111 kB / 1.021 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.5681, allocations: 0.6958 MB / 1.022 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/0.5681, allocations: 0 / 1.022 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of Templates: time 0.002393/0.5705, allocations: 0.9436 MB / 1.022 GB, free: 14 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches