Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") [: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 2.104/2.104, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.001281/0.001281, allocations: 186.9 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.619/1.619, allocations: 221.4 MB / 0.7863 GB, free: 13.72 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.00124/0.00124, allocations: 88.73 kB / 0.9264 GB, free: 14.26 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.175e-06/8.205e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3372, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.45/4.787, allocations: 1.918 GB / 3.13 GB, free: 347.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001913/4.787, allocations: 86.61 kB / 3.13 GB, free: 347.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.4832/5.271, allocations: 263.7 MB / 3.387 GB, free: 109 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.603e-05/5.271, allocations: 19.98 kB / 3.387 GB, free: 109 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001635/5.272, allocations: 0.7917 MB / 3.388 GB, free: 108.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/5.272, allocations: 8.031 kB / 3.388 GB, free: 108.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/5.274, allocations: 191 kB / 3.388 GB, free: 108 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/5.275, allocations: 0.5119 MB / 3.389 GB, free: 107.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/5.275, allocations: 12 kB / 3.389 GB, free: 107.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.064e-05/5.275, allocations: 28 kB / 3.389 GB, free: 107.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005883/5.275, allocations: 369.9 kB / 3.389 GB, free: 107 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006497/5.276, allocations: 456.1 kB / 3.389 GB, free: 106.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/5.276, allocations: 4 kB / 3.389 GB, free: 106.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.235e-05/5.276, allocations: 0 / 3.389 GB, free: 106.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/5.276, allocations: 13 kB / 3.389 GB, free: 106.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002383/5.279, allocations: 1.674 MB / 3.391 GB, free: 104.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/5.279, allocations: 205.8 kB / 3.391 GB, free: 104.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/5.279, allocations: 168.8 kB / 3.391 GB, free: 104.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/5.279, allocations: 97.09 kB / 3.392 GB, free: 104.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/5.279, allocations: 38.56 kB / 3.392 GB, free: 104.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 1.703e-06/5.279, allocations: 0 / 3.392 GB, free: 104.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001915/5.281, allocations: 0.8928 MB / 3.392 GB, free: 103.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/5.281, allocations: 63.34 kB / 3.393 GB, free: 103.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/5.282, allocations: 290 kB / 3.393 GB, free: 102.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/5.282, allocations: 25.7 kB / 3.393 GB, free: 102.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.002e-05/5.282, allocations: 212 kB / 3.393 GB, free: 102.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.857e-05/5.282, allocations: 114.3 kB / 3.393 GB, free: 102.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.458e-05/5.282, allocations: 0 / 3.393 GB, free: 102.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.149e-05/5.282, allocations: 346.8 kB / 3.393 GB, free: 102.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/5.282, allocations: 131.8 kB / 3.394 GB, free: 102.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/5.282, allocations: 186.8 kB / 3.394 GB, free: 101.9 MB / 1.151 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/5.284, allocations: 0.5549 MB / 3.394 GB, free: 101.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/5.284, allocations: 4 kB / 3.394 GB, free: 101.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004672/5.284, allocations: 372.8 kB / 3.395 GB, free: 100.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/5.284, allocations: 15.11 kB / 3.395 GB, free: 100.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/5.284, allocations: 0 / 3.395 GB, free: 100.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/5.284, allocations: 7.906 kB / 3.395 GB, free: 100.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/5.285, allocations: 67.92 kB / 3.395 GB, free: 100.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/5.285, allocations: 11.92 kB / 3.395 GB, free: 100.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004066/5.285, allocations: 24.05 kB / 3.395 GB, free: 100.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/5.285, allocations: 16 kB / 3.395 GB, free: 100.8 MB / 1.151 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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 9.513e-05/5.285, allocations: 114.5 kB / 3.395 GB, free: 100.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.124e-05/5.285, allocations: 39.53 kB / 3.395 GB, free: 100.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.54e-05/5.285, allocations: 52.23 kB / 3.395 GB, free: 100.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/5.285, allocations: 4 kB / 3.395 GB, free: 100.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/5.285, allocations: 0 / 3.395 GB, free: 100.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003485/5.286, allocations: 388.5 kB / 3.395 GB, free: 100.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/5.287, allocations: 1.156 MB / 3.397 GB, free: 98.93 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/5.287, allocations: 8 kB / 3.397 GB, free: 98.92 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003337/5.287, allocations: 72.41 kB / 3.397 GB, free: 98.85 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/5.287, allocations: 8 kB / 3.397 GB, free: 98.84 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/5.288, allocations: 15.89 kB / 3.397 GB, free: 98.83 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/5.288, allocations: 4 kB / 3.397 GB, free: 98.82 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/5.288, allocations: 7.938 kB / 3.397 GB, free: 98.82 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006475/5.288, allocations: 0.8443 MB / 3.397 GB, free: 97.81 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/5.288, allocations: 160.5 kB / 3.398 GB, free: 97.63 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.987e-05/5.288, allocations: 16.05 kB / 3.398 GB, free: 97.62 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000424/5.289, allocations: 27.83 kB / 3.398 GB, free: 97.59 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/5.289, allocations: 27.88 kB / 3.398 GB, free: 97.56 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/5.289, allocations: 16 kB / 3.398 GB, free: 97.55 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001763/5.289, allocations: 228.6 kB / 3.398 GB, free: 97.33 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006791/5.29, allocations: 196 kB / 3.398 GB, free: 97.14 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.001353/5.291, allocations: 1.092 MB / 3.399 GB, free: 96.05 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004248/5.292, allocations: 296 kB / 3.399 GB, free: 95.77 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/5.292, allocations: 4 kB / 3.399 GB, free: 95.76 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001624/5.292, allocations: 152.8 kB / 3.4 GB, free: 95.61 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/5.293, allocations: 258.6 kB / 3.4 GB, free: 95.36 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/5.294, allocations: 0.8236 MB / 3.401 GB, free: 94.46 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004488/5.295, allocations: 0.9438 MB / 3.402 GB, free: 93.5 MB / 1.151 GB Notification: Performance of SimCode: time 3e-07/5.295, allocations: 0 / 3.402 GB, free: 93.5 MB / 1.151 GB Notification: Performance of Templates: time 0.01895/5.314, allocations: 13.62 MB / 3.415 GB, free: 79.98 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches