Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.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.Fluid.Movers.BaseClasses.Validation.EulerCurve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|etaApp|etaOri",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|etaApp|etaOri",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve") [: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.935/1.935, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.001134/0.001134, allocations: 189.2 kB / 490.8 MB, free: 1.918 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.395/1.395, allocations: 221.3 MB / 0.7863 GB, free: 13.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.001024/0.001024, allocations: 98.59 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.724e-06/7.744e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2656, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6977/0.9634, allocations: 149.7 MB / 1.358 GB, free: 17.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.9637, allocations: 73.34 kB / 1.358 GB, free: 17.15 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.009062/0.9728, allocations: 2.553 MB / 1.36 GB, free: 17 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.9728, allocations: 5.25 kB / 1.36 GB, free: 17 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.0004204/0.9732, allocations: 358.6 kB / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.9733, allocations: 9.391 kB / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.9733, allocations: 1 kB / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.254e-05/0.9734, allocations: 160.3 kB / 1.361 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.9734, allocations: 4.812 kB / 1.361 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.9735, allocations: 1.719 kB / 1.361 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.093e-05/0.9735, allocations: 6.938 kB / 1.361 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.772e-05/0.9736, allocations: 34.59 kB / 1.361 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.9736, allocations: 4 kB / 1.361 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.9736, allocations: 1.828 kB / 1.361 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.9736, allocations: 0 / 1.361 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002156/0.9739, allocations: 129 kB / 1.361 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.282e-05/0.9739, allocations: 31.44 kB / 1.361 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.031e-05/0.974, allocations: 10.83 kB / 1.361 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006677/0.9746, allocations: 0.6621 MB / 1.362 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.9747, allocations: 31.27 kB / 1.362 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.9747, allocations: 0 / 1.362 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0003004/0.975, allocations: 53.64 kB / 1.362 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.803e-05/0.975, allocations: 57.14 kB / 1.362 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.238e-05/0.9751, allocations: 85 kB / 1.362 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.9751, allocations: 25.7 kB / 1.362 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.873e-05/0.9751, allocations: 87.95 kB / 1.362 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.9751, allocations: 6.859 kB / 1.362 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.9751, allocations: 0 / 1.362 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.9753, allocations: 316.4 kB / 1.362 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.461e-05/0.9753, allocations: 9.797 kB / 1.362 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.987e-05/0.9753, allocations: 18.12 kB / 1.362 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.9755, allocations: 21.91 kB / 1.362 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.9755, allocations: 0.7812 kB / 1.362 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000196/0.9757, allocations: 61.75 kB / 1.362 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.9757, allocations: 8.594 kB / 1.362 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.9758, allocations: 0 / 1.362 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.9758, allocations: 1.672 kB / 1.362 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.356e-05/0.9758, allocations: 10.73 kB / 1.362 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.9759, allocations: 1 kB / 1.362 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.802e-05/0.9759, allocations: 14.02 kB / 1.362 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.9759, allocations: 1.344 kB / 1.362 GB, free: 30.7 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.584e-05/0.976, allocations: 102.3 kB / 1.363 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/0.976, allocations: 0.7969 kB / 1.363 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.9762, allocations: 59.58 kB / 1.363 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.9762, allocations: 1 kB / 1.363 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.9762, allocations: 4.609 kB / 1.363 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.9762, allocations: 0.9688 kB / 1.363 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.679e-05/0.9763, allocations: 131.9 kB / 1.363 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.9763, allocations: 12.64 kB / 1.363 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.9764, allocations: 8.578 kB / 1.363 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.9764, allocations: 1.219 kB / 1.363 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.9764, allocations: 0.7969 kB / 1.363 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.9764, allocations: 0.6875 kB / 1.363 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.9764, allocations: 0.6875 kB / 1.363 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002306/0.9766, allocations: 83.89 kB / 1.363 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.9767, allocations: 79.69 kB / 1.363 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.9767, allocations: 4 kB / 1.363 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.12e-05/0.9767, allocations: 4.969 kB / 1.363 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.199e-05/0.9767, allocations: 2.141 kB / 1.363 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.9767, allocations: 0.7812 kB / 1.363 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.624e-05/0.9768, allocations: 79.53 kB / 1.363 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000343/0.9771, allocations: 67.5 kB / 1.363 GB, free: 30.12 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0004948/0.9776, allocations: 215.9 kB / 1.363 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.332e-05/0.9777, allocations: 10.53 kB / 1.363 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.9777, allocations: 0 / 1.363 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.089e-05/0.9777, allocations: 9.016 kB / 1.363 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.982e-05/0.9778, allocations: 1.938 kB / 1.363 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002272/0.9781, allocations: 66.48 kB / 1.363 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003423/0.9784, allocations: 0.6896 MB / 1.364 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/0.9784, allocations: 4.062 kB / 1.364 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of Templates: time 0.003798/0.9822, allocations: 1.204 MB / 1.365 GB, free: 29.07 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.sim & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve.csv","../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches