Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.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.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|spl.port_1.m_flow|spl.port_2.m_flow|spl.port_3.m_flow|spl.port_1.p|spl.port_2.p|spl.port_3.p|spl.res1.dp|spl.res2.dp|spl.res3.dp|senTem1.T|senTem2.T|senTem3.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop") translateModel(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|spl.port_1.m_flow|spl.port_2.m_flow|spl.port_3.m_flow|spl.port_1.p|spl.port_2.p|spl.port_3.p|spl.res1.dp|spl.res2.dp|spl.res3.dp|senTem1.T|senTem2.T|senTem3.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop") [: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.985/1.985, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001202/0.001202, allocations: 178.3 kB / 490.8 MB, free: 1.949 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.416/1.416, allocations: 221.4 MB / 0.7863 GB, free: 13.73 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.0009256/0.0009255, allocations: 94.73 kB / 0.9264 GB, free: 14.26 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.612e-06/6.632e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2753, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.181/4.456, allocations: 1.929 GB / 3.14 GB, free: 408.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/4.457, allocations: 87.95 kB / 3.14 GB, free: 408.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.946/6.403, allocations: 0.798 GB / 3.938 GB, free: 26.62 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.027e-05/6.403, allocations: 32.11 kB / 3.938 GB, free: 26.59 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002378/6.405, allocations: 1.195 MB / 3.939 GB, free: 25.34 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/6.405, allocations: 8.031 kB / 3.939 GB, free: 25.34 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/6.407, allocations: 270.5 kB / 3.94 GB, free: 25.07 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/6.409, allocations: 0.8119 MB / 3.941 GB, free: 24.21 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/6.409, allocations: 16 kB / 3.941 GB, free: 24.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.494e-05/6.409, allocations: 32 kB / 3.941 GB, free: 24.17 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007965/6.41, allocations: 0.5565 MB / 3.941 GB, free: 23.61 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007354/6.41, allocations: 0.5198 MB / 3.942 GB, free: 23.09 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/6.41, allocations: 0 / 3.942 GB, free: 23.09 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.038e-05/6.41, allocations: 3.984 kB / 3.942 GB, free: 23.08 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/6.41, allocations: 12 kB / 3.942 GB, free: 23.07 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00349/6.414, allocations: 2.928 MB / 3.945 GB, free: 19.91 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004155/6.414, allocations: 371.1 kB / 3.945 GB, free: 19.54 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/6.415, allocations: 265.4 kB / 3.945 GB, free: 19.28 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006573/6.415, allocations: 0.6328 MB / 3.946 GB, free: 18.52 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/6.415, allocations: 38.89 kB / 3.946 GB, free: 18.47 MB / 1.151 GB Notification: Performance of pre-optimization done (n=39): time 1.933e-06/6.415, allocations: 0 / 3.946 GB, free: 18.47 MB / 1.151 GB Notification: Performance of matching and sorting (n=39): time 0.00197/6.417, allocations: 0.7687 MB / 3.947 GB, free: 17.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/6.417, allocations: 63.34 kB / 3.947 GB, free: 17.62 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004323/6.418, allocations: 455.7 kB / 3.947 GB, free: 17.18 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/6.418, allocations: 25.7 kB / 3.947 GB, free: 17.14 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/6.418, allocations: 264.4 kB / 3.947 GB, free: 16.88 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.85e-05/6.418, allocations: 126.1 kB / 3.947 GB, free: 16.75 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/6.418, allocations: 0 / 3.947 GB, free: 16.75 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.24e-05/6.418, allocations: 378.8 kB / 3.948 GB, free: 16.38 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/6.418, allocations: 184.7 kB / 3.948 GB, free: 16.19 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/6.419, allocations: 300.8 kB / 3.948 GB, free: 15.86 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005143/6.419, allocations: 312.1 kB / 3.949 GB, free: 15.55 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/6.419, allocations: 0 / 3.949 GB, free: 15.55 MB / 1.151 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009748/6.42, allocations: 0.6288 MB / 3.949 GB, free: 14.91 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/6.42, allocations: 8 kB / 3.949 GB, free: 14.91 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/6.42, allocations: 0 / 3.949 GB, free: 14.91 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/6.42, allocations: 7.906 kB / 3.949 GB, free: 14.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005595/6.421, allocations: 112 kB / 3.949 GB, free: 14.79 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/6.421, allocations: 11.97 kB / 3.949 GB, free: 14.78 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006735/6.421, allocations: 67.7 kB / 3.949 GB, free: 14.71 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.395e-05/6.422, allocations: 31.97 kB / 3.949 GB, free: 14.68 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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.437e-05/6.422, allocations: 116.8 kB / 3.949 GB, free: 14.56 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.134e-05/6.422, allocations: 67.16 kB / 3.95 GB, free: 14.49 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/6.423, allocations: 0.6716 MB / 3.95 GB, free: 13.81 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/6.423, allocations: 8 kB / 3.95 GB, free: 13.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/6.423, allocations: 0 / 3.95 GB, free: 13.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/6.423, allocations: 3.984 kB / 3.95 GB, free: 13.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/6.425, allocations: 1.478 MB / 3.952 GB, free: 12.24 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/6.425, allocations: 4 kB / 3.952 GB, free: 12.23 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004933/6.426, allocations: 100.2 kB / 3.952 GB, free: 12.14 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/6.426, allocations: 11.91 kB / 3.952 GB, free: 12.12 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/6.426, allocations: 4 kB / 3.952 GB, free: 12.12 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/6.426, allocations: 4 kB / 3.952 GB, free: 12.12 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/6.426, allocations: 7.938 kB / 3.952 GB, free: 12.11 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00124/6.427, allocations: 1.19 MB / 3.953 GB, free: 10.79 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/6.427, allocations: 196.1 kB / 3.953 GB, free: 10.57 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/6.427, allocations: 4 kB / 3.953 GB, free: 10.57 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000598/6.428, allocations: 51.94 kB / 3.953 GB, free: 10.52 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.267e-05/6.428, allocations: 31.88 kB / 3.953 GB, free: 10.49 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/6.428, allocations: 19.98 kB / 3.953 GB, free: 10.47 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0002997/6.428, allocations: 359.2 kB / 3.954 GB, free: 10.12 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009945/6.429, allocations: 355.5 kB / 3.954 GB, free: 9.773 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.002318/6.432, allocations: 2.36 MB / 3.956 GB, free: 7.262 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006172/6.432, allocations: 472.4 kB / 3.957 GB, free: 6.801 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/6.432, allocations: 0 / 3.957 GB, free: 6.801 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002962/6.432, allocations: 244.2 kB / 3.957 GB, free: 6.562 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/6.434, allocations: 376.7 kB / 3.957 GB, free: 6.203 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004947/6.439, allocations: 1.482 MB / 3.959 GB, free: 4.656 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005838/6.44, allocations: 1.051 MB / 3.96 GB, free: 3.574 MB / 1.151 GB Notification: Performance of SimCode: time 6.11e-07/6.44, allocations: 0 / 3.96 GB, free: 3.574 MB / 1.151 GB Notification: Performance of Templates: time 0.4501/6.89, allocations: 24.17 MB / 3.983 GB, free: 350.9 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.csv","../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches