Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") [: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.078/2.078, 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.001231/0.001231, allocations: 179.7 kB / 490.8 MB, free: 1.969 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.303/1.303, allocations: 221.3 MB / 0.7863 GB, free: 13.68 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.0009331/0.0009332, allocations: 92.64 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.256e-06/8.476e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2319, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.494/4.726, allocations: 1.949 GB / 3.16 GB, free: 363.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/4.726, allocations: 83.95 kB / 3.161 GB, free: 363.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.63/6.356, allocations: 476.8 MB / 3.626 GB, free: 287.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001549/6.356, allocations: 27.05 kB / 3.626 GB, free: 287.8 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.005821/6.362, allocations: 1.489 MB / 3.628 GB, free: 287 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/6.362, allocations: 7.688 kB / 3.628 GB, free: 287 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002511/6.364, allocations: 299.5 kB / 3.628 GB, free: 287 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002661/6.367, allocations: 0.8474 MB / 3.629 GB, free: 286.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.638e-05/6.367, allocations: 26.61 kB / 3.629 GB, free: 286.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003175/6.367, allocations: 42.03 kB / 3.629 GB, free: 286.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001903/6.369, allocations: 0.8872 MB / 3.63 GB, free: 286.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/6.371, allocations: 0.9025 MB / 3.631 GB, free: 285.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/6.371, allocations: 0 / 3.631 GB, free: 285.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.604e-05/6.371, allocations: 0 / 3.631 GB, free: 285.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-05/6.371, allocations: 79.38 kB / 3.631 GB, free: 285.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007561/6.379, allocations: 3.522 MB / 3.634 GB, free: 283.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/6.381, allocations: 0.7253 MB / 3.635 GB, free: 283.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005712/6.381, allocations: 359.5 kB / 3.635 GB, free: 283.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002929/6.382, allocations: 201.6 kB / 3.635 GB, free: 283.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/6.382, allocations: 41.59 kB / 3.635 GB, free: 283.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=62): time 3.948e-06/6.382, allocations: 1.031 kB / 3.635 GB, free: 283.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=62): time 0.002153/6.384, allocations: 0.7526 MB / 3.636 GB, free: 282.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/6.384, allocations: 110.7 kB / 3.636 GB, free: 282.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008512/6.385, allocations: 0.5569 MB / 3.637 GB, free: 282.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.228e-05/6.385, allocations: 26.95 kB / 3.637 GB, free: 282.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000229/6.385, allocations: 312.7 kB / 3.637 GB, free: 282.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/6.385, allocations: 208.8 kB / 3.637 GB, free: 282.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/6.385, allocations: 3.594 kB / 3.637 GB, free: 282.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001566/6.386, allocations: 392.5 kB / 3.638 GB, free: 281.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00053/6.386, allocations: 310.3 kB / 3.638 GB, free: 281.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006449/6.387, allocations: 445.8 kB / 3.638 GB, free: 281.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002105/6.389, allocations: 0.6745 MB / 3.639 GB, free: 281.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/6.389, allocations: 1.312 kB / 3.639 GB, free: 281.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003131/6.392, allocations: 1.148 MB / 3.64 GB, free: 280.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000252/6.392, allocations: 0.8708 MB / 3.641 GB, free: 280 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/6.392, allocations: 5.328 kB / 3.641 GB, free: 280 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.711e-05/6.392, allocations: 6.281 kB / 3.641 GB, free: 280 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000931/6.393, allocations: 144.7 kB / 3.641 GB, free: 280 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/6.393, allocations: 13.73 kB / 3.641 GB, free: 280 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/6.395, allocations: 88.25 kB / 3.641 GB, free: 280 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/6.395, allocations: 26.36 kB / 3.641 GB, free: 280 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/6.395, allocations: 3.875 kB / 3.641 GB, free: 280 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002516/6.397, allocations: 0.9578 MB / 3.642 GB, free: 279.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/6.397, allocations: 3.438 kB / 3.642 GB, free: 279.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/6.397, allocations: 5.531 kB / 3.642 GB, free: 279.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008578/6.398, allocations: 143.4 kB / 3.642 GB, free: 279.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/6.398, allocations: 5.828 kB / 3.642 GB, free: 279.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/6.399, allocations: 78.84 kB / 3.642 GB, free: 279.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.899e-05/6.399, allocations: 31.47 kB / 3.642 GB, free: 279.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (86): * Single equations (assignments): 86 * 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.0002231/6.4, allocations: 117.2 kB / 3.643 GB, free: 279.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/6.4, allocations: 84.56 kB / 3.643 GB, free: 279.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/6.402, allocations: 0.7714 MB / 3.643 GB, free: 279.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/6.402, allocations: 6.531 kB / 3.643 GB, free: 279.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/6.402, allocations: 0 / 3.643 GB, free: 279.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001194/6.403, allocations: 0.725 MB / 3.644 GB, free: 278.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003703/6.407, allocations: 1.949 MB / 3.646 GB, free: 278 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/6.407, allocations: 4.125 kB / 3.646 GB, free: 278 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007467/6.407, allocations: 135.5 kB / 3.646 GB, free: 278 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.525e-05/6.407, allocations: 12.58 kB / 3.646 GB, free: 278 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.358e-05/6.407, allocations: 8.859 kB / 3.646 GB, free: 278 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.07e-05/6.407, allocations: 7.312 kB / 3.646 GB, free: 278 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/6.407, allocations: 5.906 kB / 3.646 GB, free: 278 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002156/6.41, allocations: 1.486 MB / 3.648 GB, free: 277 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005103/6.41, allocations: 246.5 kB / 3.648 GB, free: 276.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/6.41, allocations: 6.109 kB / 3.648 GB, free: 276.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000696/6.411, allocations: 42.67 kB / 3.648 GB, free: 276.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.746e-05/6.411, allocations: 45.61 kB / 3.648 GB, free: 276.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-05/6.411, allocations: 24.75 kB / 3.648 GB, free: 276.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006296/6.412, allocations: 431.8 kB / 3.648 GB, free: 276.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002971/6.415, allocations: 0.8722 MB / 3.649 GB, free: 276.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * 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.003575/6.418, allocations: 1.926 MB / 3.651 GB, free: 275.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002229/6.421, allocations: 1.125 MB / 3.652 GB, free: 275.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/6.421, allocations: 0.9375 kB / 3.652 GB, free: 275.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005538/6.421, allocations: 352.4 kB / 3.653 GB, free: 275.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/6.424, allocations: 427.3 kB / 3.653 GB, free: 275.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/6.427, allocations: 1.512 MB / 3.654 GB, free: 274.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/6.428, allocations: 1.19 MB / 3.656 GB, free: 273.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.553e-06/6.428, allocations: 0 / 3.656 GB, free: 273.9 MB / 1.151 GB Notification: Performance of Templates: time 0.06706/6.495, allocations: 31.63 MB / 3.687 GB, free: 262.7 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches