Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|xInv|dy_dt|d2y_dt2",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.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 9.1.1-maint.9.1.x/package.mo): time 1.985/1.985, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.00125/0.00125, allocations: 185.2 kB / 487 MB, free: 5.324 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.359/1.359, allocations: 221.3 MB / 0.7819 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009348/0.0009347, allocations: 97.86 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.238e-05/1.241e-05, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2741, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6757/0.9498, allocations: 149.2 MB / 1.351 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/0.95, allocations: 76.52 kB / 1.351 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.0122/0.9623, allocations: 3.871 MB / 1.355 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.9623, allocations: 0.7188 kB / 1.355 GB, free: 15.59 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003135/0.9626, allocations: 370 kB / 1.355 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.9627, allocations: 9.188 kB / 1.355 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003134/0.963, allocations: 72.38 kB / 1.355 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.9631, allocations: 174.3 kB / 1.355 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.9631, allocations: 0.75 kB / 1.355 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.9631, allocations: 3.812 kB / 1.355 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.885e-05/0.9632, allocations: 20.47 kB / 1.355 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.918e-05/0.9633, allocations: 48.94 kB / 1.355 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.9633, allocations: 0 / 1.355 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.9634, allocations: 1.391 kB / 1.355 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.9634, allocations: 0.875 kB / 1.355 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.9635, allocations: 151.7 kB / 1.356 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.237e-05/0.9636, allocations: 44.16 kB / 1.356 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.69e-05/0.9636, allocations: 16.97 kB / 1.356 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.9637, allocations: 1.781 kB / 1.356 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.114e-05/0.9637, allocations: 31.97 kB / 1.356 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.001e-06/0.9637, allocations: 0 / 1.356 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.002754/0.9664, allocations: 0.4978 MB / 1.356 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.799e-05/0.9665, allocations: 56.28 kB / 1.356 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.787e-05/0.9665, allocations: 105.2 kB / 1.356 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.9666, allocations: 25.7 kB / 1.356 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.367e-05/0.9666, allocations: 83.06 kB / 1.356 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.9666, allocations: 28.12 kB / 1.356 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.36e-05/0.9666, allocations: 0 / 1.356 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.472e-05/0.9667, allocations: 327 kB / 1.357 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.39e-05/0.9668, allocations: 39.42 kB / 1.357 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.84e-05/0.9669, allocations: 36.25 kB / 1.357 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.967, allocations: 60.81 kB / 1.357 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.967, allocations: 0 / 1.357 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003383/0.9674, allocations: 148.4 kB / 1.357 GB, free: 14 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.9674, allocations: 6.141 kB / 1.357 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.9674, allocations: 0 / 1.357 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.9674, allocations: 0.6562 kB / 1.357 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004361/0.9679, allocations: 80.97 kB / 1.357 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.9679, allocations: 1.625 kB / 1.357 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/0.9682, allocations: 53.19 kB / 1.357 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.9682, allocations: 6.828 kB / 1.357 GB, free: 13.98 MB / 0.8073 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 (9): * Single equations (assignments): 9 * 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.765e-05/0.9683, allocations: 102.4 kB / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.9683, allocations: 6.531 kB / 1.357 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.9684, allocations: 14.81 kB / 1.357 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.9684, allocations: 1.375 kB / 1.357 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.9684, allocations: 4.656 kB / 1.357 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.9684, allocations: 1.031 kB / 1.357 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.9696, allocations: 0.5161 MB / 1.358 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.9696, allocations: 2.266 kB / 1.358 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003597/0.97, allocations: 73.55 kB / 1.358 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.97, allocations: 1.906 kB / 1.358 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.97, allocations: 7.188 kB / 1.358 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.97, allocations: 0.9375 kB / 1.358 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.97, allocations: 4.781 kB / 1.358 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003075/0.9703, allocations: 272.7 kB / 1.358 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.9704, allocations: 88.19 kB / 1.358 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.9704, allocations: 2.359 kB / 1.358 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003229/0.9707, allocations: 51.81 kB / 1.358 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.9708, allocations: 11.11 kB / 1.358 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.9708, allocations: 7.75 kB / 1.358 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.856e-05/0.9708, allocations: 87.5 kB / 1.358 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002882/0.9711, allocations: 47.17 kB / 1.358 GB, free: 13.16 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0001639/0.9713, allocations: 121.5 kB / 1.359 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002325/0.9715, allocations: 88.03 kB / 1.359 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.9715, allocations: 0 / 1.359 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.808e-05/0.9717, allocations: 51.39 kB / 1.359 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.9718, allocations: 3 kB / 1.359 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.9733, allocations: 383.6 kB / 1.359 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/0.9736, allocations: 0.7241 MB / 1.36 GB, free: 28.22 MB / 0.823 GB Notification: Performance of SimCode: time 2.41e-07/0.9736, allocations: 4.875 kB / 1.36 GB, free: 28.21 MB / 0.823 GB Notification: Performance of Templates: time 0.004144/0.9778, allocations: 1.849 MB / 1.362 GB, free: 28.09 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches