Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.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.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized") [: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 10.0.0-master/package.mo): time 1.974/1.974, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.001057/0.001057, allocations: 182.2 kB / 490.8 MB, free: 1.977 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.352/1.352, allocations: 221.4 MB / 0.7863 GB, free: 13.68 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.001037/0.001036, allocations: 91.06 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.416e-06/8.436e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3016, allocations: 143 MB / 1.212 GB, free: 40.16 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7758/1.077, allocations: 149.2 MB / 1.357 GB, free: 17.29 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001834/1.078, allocations: 68.39 kB / 1.357 GB, free: 17.29 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.001927/1.08, allocations: 490.8 kB / 1.358 GB, free: 17.27 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.893e-06/1.08, allocations: 1.406 kB / 1.358 GB, free: 17.27 MB / 0.823 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.0003247/1.08, allocations: 340.6 kB / 1.358 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/1.08, allocations: 8.344 kB / 1.358 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/1.08, allocations: 5.875 kB / 1.358 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.444e-05/1.08, allocations: 162.6 kB / 1.358 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/1.08, allocations: 1.094 kB / 1.358 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/1.08, allocations: 0.75 kB / 1.358 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.893e-05/1.08, allocations: 18.19 kB / 1.358 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.738e-05/1.08, allocations: 45.45 kB / 1.358 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/1.08, allocations: 0 / 1.358 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/1.08, allocations: 0 / 1.358 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/1.08, allocations: 1.062 kB / 1.358 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/1.081, allocations: 249.8 kB / 1.359 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.875e-05/1.081, allocations: 27.69 kB / 1.359 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.603e-05/1.081, allocations: 16.36 kB / 1.359 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002719/1.081, allocations: 414.2 kB / 1.359 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/1.081, allocations: 38.75 kB / 1.359 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/1.081, allocations: 0 / 1.359 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001841/1.081, allocations: 43.73 kB / 1.359 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.81e-05/1.081, allocations: 52.02 kB / 1.359 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.351e-05/1.081, allocations: 93.16 kB / 1.359 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/1.081, allocations: 29.08 kB / 1.359 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.315e-05/1.081, allocations: 85.7 kB / 1.359 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/1.082, allocations: 10.36 kB / 1.359 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/1.082, allocations: 0 / 1.359 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001047/1.082, allocations: 317 kB / 1.36 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/1.082, allocations: 2.969 kB / 1.36 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.43e-05/1.082, allocations: 7.156 kB / 1.36 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.549e-05/1.082, allocations: 9.125 kB / 1.36 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.082, allocations: 0 / 1.36 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.259e-05/1.082, allocations: 45.69 kB / 1.36 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/1.082, allocations: 13.25 kB / 1.36 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/1.082, allocations: 0 / 1.36 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/1.082, allocations: 1.703 kB / 1.36 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/1.082, allocations: 12.31 kB / 1.36 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-06/1.082, allocations: 0 / 1.36 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.861e-05/1.082, allocations: 13.31 kB / 1.36 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/1.082, allocations: 5.062 kB / 1.36 GB, free: 31.21 MB / 0.8386 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.623e-05/1.082, allocations: 106 kB / 1.36 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/1.082, allocations: 2.578 kB / 1.36 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/1.082, allocations: 55.88 kB / 1.36 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/1.082, allocations: 3.906 kB / 1.36 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/1.082, allocations: 5 kB / 1.36 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.082, allocations: 0 / 1.36 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/1.082, allocations: 141.6 kB / 1.36 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/1.082, allocations: 0 / 1.36 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.149e-05/1.083, allocations: 14.3 kB / 1.36 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/1.083, allocations: 0 / 1.36 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/1.083, allocations: 1.828 kB / 1.36 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/1.083, allocations: 0 / 1.36 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.083, allocations: 1.125 kB / 1.36 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001256/1.083, allocations: 141.2 kB / 1.36 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.915e-05/1.083, allocations: 82.81 kB / 1.36 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/1.083, allocations: 1.859 kB / 1.36 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9e-05/1.083, allocations: 8.734 kB / 1.36 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/1.083, allocations: 4.75 kB / 1.36 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/1.083, allocations: 6.047 kB / 1.36 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.865e-05/1.083, allocations: 79.86 kB / 1.36 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002327/1.083, allocations: 6.672 kB / 1.36 GB, free: 30.58 MB / 0.8386 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.0001435/1.083, allocations: 109.4 kB / 1.361 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.498e-05/1.083, allocations: 12.09 kB / 1.361 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/1.083, allocations: 1.031 kB / 1.361 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.107e-05/1.083, allocations: 8.688 kB / 1.361 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/1.084, allocations: 2.547 kB / 1.361 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000199/1.084, allocations: 70.3 kB / 1.361 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/1.084, allocations: 0.6892 MB / 1.361 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.084, allocations: 0 / 1.361 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of Templates: time 0.00246/1.087, allocations: 0.5626 MB / 1.362 GB, free: 29.66 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_PowerLinearized.csv","../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches