Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.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.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|powerLinearized.y",fileNamePrefix="Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.197/1.197, allocations: 249.4 MB / 256.7 MB, free: 6.988 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.000912/0.000912, allocations: 184.6 kB / 316 MB, free: 3.5 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.076/1.076, allocations: 205.2 MB / 0.5667 GB, free: 15.63 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.0008569/0.0008569, allocations: 82.16 kB / 0.671 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.081e-06/6.111e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1549, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.451/0.606, allocations: 131.9 MB / 1.013 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001761/0.6062, allocations: 69.03 kB / 1.013 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.001819/0.608, allocations: 484.8 kB / 1.014 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.608, allocations: 0 / 1.014 GB, free: 6.523 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.0003026/0.6083, allocations: 338.3 kB / 1.014 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.6084, allocations: 12.03 kB / 1.014 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.6084, allocations: 7.984 kB / 1.014 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.6086, allocations: 167.9 kB / 1.014 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.6086, allocations: 0 / 1.014 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-06/0.6086, allocations: 0 / 1.014 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.063e-05/0.6087, allocations: 18.38 kB / 1.014 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.511e-05/0.6087, allocations: 33.69 kB / 1.014 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.6087, allocations: 0 / 1.014 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.6088, allocations: 0 / 1.014 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.6088, allocations: 0 / 1.014 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.6091, allocations: 254.3 kB / 1.015 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.654e-05/0.6092, allocations: 26.48 kB / 1.015 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.511e-05/0.6092, allocations: 16.48 kB / 1.015 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003311/0.6096, allocations: 409.5 kB / 1.015 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.6096, allocations: 38.5 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/0.6096, allocations: 0 / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001602/0.6098, allocations: 43.59 kB / 1.015 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.6098, allocations: 55.44 kB / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.538e-05/0.6099, allocations: 96.44 kB / 1.015 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.6099, allocations: 25.7 kB / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.957e-05/0.6099, allocations: 87.25 kB / 1.015 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.6099, allocations: 7.844 kB / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.6099, allocations: 0 / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.912e-05/0.61, allocations: 314.8 kB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.446e-05/0.6101, allocations: 3.188 kB / 1.016 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.128e-05/0.6101, allocations: 10.81 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.765e-05/0.6101, allocations: 4 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.6101, allocations: 0 / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.135e-05/0.6102, allocations: 52.84 kB / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/0.6102, allocations: 6.5 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.6102, allocations: 0 / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.6103, allocations: 0 / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.377e-05/0.6103, allocations: 22.89 kB / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.6104, allocations: 0 / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.325e-05/0.6104, allocations: 8 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.6104, allocations: 3.938 kB / 1.016 GB, free: 4.266 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.704e-05/0.6105, allocations: 101 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.6105, allocations: 7.891 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.6107, allocations: 56.7 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.6107, allocations: 0 / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.6107, allocations: 0 / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.6107, allocations: 3.938 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.6108, allocations: 148.1 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.6108, allocations: 0 / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.597e-05/0.6109, allocations: 11.98 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.6109, allocations: 4.031 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.6109, allocations: 3.984 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.6109, allocations: 3.312 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.6109, allocations: 4 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000113/0.611, allocations: 135.3 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/0.6111, allocations: 84.05 kB / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.6111, allocations: 0 / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.859e-05/0.6112, allocations: 16.02 kB / 1.016 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.6112, allocations: 3.906 kB / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.6112, allocations: 0 / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.956e-05/0.6113, allocations: 82.59 kB / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002001/0.6115, allocations: 8 kB / 1.016 GB, free: 3.543 MB / 0.6355 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.0001289/0.6116, allocations: 99.23 kB / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.668e-05/0.6117, allocations: 23.69 kB / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.6117, allocations: 0 / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.94e-05/0.6117, allocations: 7.5 kB / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.6119, allocations: 0 / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001772/0.612, allocations: 62.66 kB / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.6123, allocations: 0.688 MB / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/0.6123, allocations: 0 / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of Templates: time 0.002102/0.6144, allocations: 0.5722 MB / 1.018 GB, free: 2.062 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_PowerLinearized.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches