Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") [: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.185/1.185, allocations: 249.4 MB / 256.7 MB, free: 6.98 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.0009906/0.0009906, allocations: 188.6 kB / 316 MB, free: 3.52 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.043/1.043, allocations: 205.2 MB / 0.5667 GB, free: 15.72 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.0008461/0.0008461, allocations: 94.08 kB / 0.671 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.291e-06/6.311e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.141, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.162/3.303, allocations: 2.202 GB / 3.086 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/3.304, allocations: 93.16 kB / 3.086 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.51/4.814, allocations: 0.5856 GB / 3.672 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.409e-05/4.814, allocations: 30.53 kB / 3.672 GB, free: 172.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002402/4.816, allocations: 1.344 MB / 3.673 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/4.816, allocations: 10.75 kB / 3.673 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00276/4.819, allocations: 399.2 kB / 3.674 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002126/4.821, allocations: 1.1 MB / 3.675 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/4.821, allocations: 15.28 kB / 3.675 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.401e-05/4.821, allocations: 38.03 kB / 3.675 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009467/4.822, allocations: 0.5245 MB / 3.675 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000884/4.823, allocations: 0.583 MB / 3.676 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/4.823, allocations: 0 / 3.676 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.24e-05/4.823, allocations: 3.438 kB / 3.676 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/4.823, allocations: 15.12 kB / 3.676 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003814/4.827, allocations: 2.656 MB / 3.679 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006696/4.828, allocations: 0.4937 MB / 3.679 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000401/4.828, allocations: 309.5 kB / 3.679 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003196/4.828, allocations: 295.7 kB / 3.68 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/4.828, allocations: 34.97 kB / 3.68 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=43): time 1.773e-06/4.828, allocations: 7.156 kB / 3.68 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=43): time 0.001372/4.83, allocations: 0.6881 MB / 3.68 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/4.83, allocations: 132 kB / 3.68 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/4.831, allocations: 0.9711 MB / 3.681 GB, free: 170 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.667e-05/4.831, allocations: 31.19 kB / 3.681 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/4.831, allocations: 280.9 kB / 3.682 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.994e-05/4.831, allocations: 138.8 kB / 3.682 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/4.831, allocations: 0 / 3.682 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.716e-05/4.832, allocations: 326 kB / 3.682 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/4.832, allocations: 239.5 kB / 3.682 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004835/4.832, allocations: 491.9 kB / 3.683 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004739/4.833, allocations: 300.8 kB / 3.683 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/4.833, allocations: 0 / 3.683 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00107/4.834, allocations: 0.6949 MB / 3.684 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/4.834, allocations: 94.84 kB / 3.684 GB, free: 169 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/4.834, allocations: 3.875 kB / 3.684 GB, free: 169 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/4.834, allocations: 0 / 3.684 GB, free: 169 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006674/4.835, allocations: 132.5 kB / 3.684 GB, free: 169 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/4.835, allocations: 9.281 kB / 3.684 GB, free: 169 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/4.836, allocations: 130.2 kB / 3.684 GB, free: 169 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.797e-05/4.836, allocations: 32.38 kB / 3.684 GB, free: 169 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.488e-06/4.836, allocations: 3.812 kB / 3.684 GB, free: 169 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009151/4.837, allocations: 0.5551 MB / 3.685 GB, free: 169 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/4.837, allocations: 3.062 kB / 3.685 GB, free: 169 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-06/4.837, allocations: 0 / 3.685 GB, free: 169 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006236/4.838, allocations: 128.8 kB / 3.685 GB, free: 169 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/4.838, allocations: 3.312 kB / 3.685 GB, free: 169 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/4.839, allocations: 131.4 kB / 3.685 GB, free: 169 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/4.839, allocations: 29.55 kB / 3.685 GB, free: 169 MB / 0.8698 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 (47): * Single equations (assignments): 45 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0001163/4.839, allocations: 120.1 kB / 3.685 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/4.839, allocations: 95.72 kB / 3.685 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/4.84, allocations: 0.7434 MB / 3.686 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/4.84, allocations: 3.812 kB / 3.686 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/4.84, allocations: 1.875 kB / 3.686 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/4.84, allocations: 7.656 kB / 3.686 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002358/4.843, allocations: 1.822 MB / 3.688 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/4.843, allocations: 3.656 kB / 3.688 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005913/4.843, allocations: 116 kB / 3.688 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/4.843, allocations: 6.125 kB / 3.688 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-05/4.843, allocations: 10.92 kB / 3.688 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/4.843, allocations: 5.531 kB / 3.688 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/4.844, allocations: 3.938 kB / 3.688 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001379/4.845, allocations: 1.232 MB / 3.689 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004064/4.845, allocations: 303.6 kB / 3.689 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/4.845, allocations: 3.844 kB / 3.689 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/4.846, allocations: 80.02 kB / 3.689 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.602e-05/4.847, allocations: 41.12 kB / 3.69 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/4.847, allocations: 24.09 kB / 3.69 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0009257/4.848, allocations: 0.7512 MB / 3.69 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001307/4.849, allocations: 0.5607 MB / 3.691 GB, free: 167.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.001754/4.851, allocations: 1.877 MB / 3.693 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001282/4.852, allocations: 0.9362 MB / 3.694 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/4.852, allocations: 3.281 kB / 3.694 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003773/4.852, allocations: 291.9 kB / 3.694 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/4.854, allocations: 406.3 kB / 3.694 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/4.856, allocations: 1.323 MB / 3.696 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007941/4.857, allocations: 1.188 MB / 3.697 GB, free: 166 MB / 0.8698 GB Notification: Performance of SimCode: time 2.8e-07/4.857, allocations: 0 / 3.697 GB, free: 166 MB / 0.8698 GB Notification: Performance of Templates: time 0.04048/4.898, allocations: 33.91 MB / 3.73 GB, free: 165 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches