Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [: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.966/1.966, allocations: 390.4 MB / 397.7 MB, free: 11.3 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.001268/0.001268, allocations: 173.3 kB / 490.8 MB, free: 1.988 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.344/1.344, allocations: 221.3 MB / 0.7863 GB, free: 13.7 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.000944/0.000944, allocations: 89.28 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.626e-06/8.667e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.236, allocations: 143 MB / 1.212 GB, free: 40.16 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.083/4.319, allocations: 1.93 GB / 3.141 GB, free: 408.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/4.32, allocations: 86.14 kB / 3.141 GB, free: 408.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.95/6.269, allocations: 0.6143 GB / 3.756 GB, free: 219.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001011/6.27, allocations: 23.94 kB / 3.756 GB, free: 219.9 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.003184/6.273, allocations: 1.032 MB / 3.757 GB, free: 218.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/6.273, allocations: 8.031 kB / 3.757 GB, free: 218.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/6.274, allocations: 194.9 kB / 3.757 GB, free: 218.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/6.276, allocations: 0.5469 MB / 3.757 GB, free: 218 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003637/6.276, allocations: 93.25 kB / 3.757 GB, free: 217.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/6.276, allocations: 36 kB / 3.757 GB, free: 217.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008172/6.277, allocations: 326.5 kB / 3.758 GB, free: 217.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009778/6.278, allocations: 0.6558 MB / 3.758 GB, free: 216.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/6.278, allocations: 0 / 3.758 GB, free: 216.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.257e-05/6.278, allocations: 4 kB / 3.758 GB, free: 216.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.975e-05/6.278, allocations: 24.78 kB / 3.758 GB, free: 216.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004277/6.283, allocations: 4.117 MB / 3.762 GB, free: 212.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/6.283, allocations: 102.4 kB / 3.763 GB, free: 212.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.205e-05/6.283, allocations: 71.59 kB / 3.763 GB, free: 212.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002162/6.283, allocations: 93.09 kB / 3.763 GB, free: 212.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/6.283, allocations: 42.5 kB / 3.763 GB, free: 212.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 2.575e-06/6.283, allocations: 0 / 3.763 GB, free: 212.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0006713/6.284, allocations: 168.9 kB / 3.763 GB, free: 211.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/6.284, allocations: 128.5 kB / 3.763 GB, free: 211.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005777/6.284, allocations: 462 kB / 3.763 GB, free: 211.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/6.285, allocations: 25.7 kB / 3.764 GB, free: 211.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/6.285, allocations: 350.9 kB / 3.764 GB, free: 210.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/6.285, allocations: 39.45 kB / 3.764 GB, free: 210.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/6.285, allocations: 0 / 3.764 GB, free: 210.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001139/6.285, allocations: 358.9 kB / 3.764 GB, free: 210.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/6.285, allocations: 75.97 kB / 3.764 GB, free: 210.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/6.285, allocations: 309.6 kB / 3.765 GB, free: 210.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/6.286, allocations: 147.8 kB / 3.765 GB, free: 209.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/6.286, allocations: 4 kB / 3.765 GB, free: 209.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006156/6.286, allocations: 364.5 kB / 3.765 GB, free: 209.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/6.286, allocations: 8 kB / 3.765 GB, free: 209.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/6.286, allocations: 8.828 kB / 3.765 GB, free: 209.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.064e-05/6.286, allocations: 12 kB / 3.765 GB, free: 209.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/6.287, allocations: 95.83 kB / 3.765 GB, free: 209.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/6.287, allocations: 15.84 kB / 3.765 GB, free: 209.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006828/6.287, allocations: 107.5 kB / 3.765 GB, free: 209.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-05/6.287, allocations: 22.84 kB / 3.765 GB, free: 209.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 0.0001125/6.287, allocations: 125.7 kB / 3.765 GB, free: 209.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/6.288, allocations: 55.33 kB / 3.766 GB, free: 209.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/6.288, allocations: 52.03 kB / 3.766 GB, free: 209 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/6.288, allocations: 192 / 3.766 GB, free: 209 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/6.288, allocations: 7.938 kB / 3.766 GB, free: 209 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/6.288, allocations: 3.984 kB / 3.766 GB, free: 209 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/6.289, allocations: 1.033 MB / 3.767 GB, free: 207.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/6.289, allocations: 4 kB / 3.767 GB, free: 207.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.353e-05/6.289, allocations: 12.31 kB / 3.767 GB, free: 207.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/6.289, allocations: 8 kB / 3.767 GB, free: 207.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/6.289, allocations: 4 kB / 3.767 GB, free: 207.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/6.289, allocations: 7.984 kB / 3.767 GB, free: 207.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/6.289, allocations: 3.938 kB / 3.767 GB, free: 207.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002909/6.289, allocations: 339.9 kB / 3.767 GB, free: 207.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/6.29, allocations: 148.4 kB / 3.767 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.565e-05/6.29, allocations: 8.062 kB / 3.767 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002713/6.29, allocations: 31.89 kB / 3.767 GB, free: 207.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/6.29, allocations: 7.984 kB / 3.767 GB, free: 207.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/6.29, allocations: 4 kB / 3.767 GB, free: 207.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003664/6.29, allocations: 346.9 kB / 3.767 GB, free: 206.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001205/6.292, allocations: 292.1 kB / 3.768 GB, free: 206.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.003182/6.295, allocations: 1.945 MB / 3.77 GB, free: 204.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003627/6.295, allocations: 189.4 kB / 3.77 GB, free: 204.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/6.295, allocations: 0 / 3.77 GB, free: 204.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 5.554e-05/6.295, allocations: 49.97 kB / 3.77 GB, free: 204.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009243/6.296, allocations: 179.6 kB / 3.77 GB, free: 204.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/6.298, allocations: 0.7112 MB / 3.771 GB, free: 203.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004497/6.298, allocations: 0.9899 MB / 3.772 GB, free: 202.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.172e-06/6.298, allocations: 4 kB / 3.772 GB, free: 202.6 MB / 1.151 GB Notification: Performance of Templates: time 0.03638/6.335, allocations: 16.62 MB / 3.788 GB, free: 186.1 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches