Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.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.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem_p1.T|pip0.port_a.m_flow|senTem_p2.T|pip2.port_a.m_flow|senTem_p3.T|pip3.port_a.m_flow|senTem_p4.T|pip4.port_a.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem_p1.T|pip0.port_a.m_flow|senTem_p2.T|pip2.port_a.m_flow|senTem_p3.T|pip3.port_a.m_flow|senTem_p4.T|pip4.port_a.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") [: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.194/1.194, allocations: 249.4 MB / 256.7 MB, free: 7.074 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.001136/0.001136, allocations: 185.2 kB / 316 MB, free: 3.602 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.039/1.039, allocations: 205.1 MB / 0.5667 GB, free: 15.74 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.0008125/0.0008125, allocations: 85.25 kB / 0.671 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.67e-06/5.69e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.158, allocations: 106.3 MB / 0.8846 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9452/1.103, allocations: 462.6 MB / 1.336 GB, free: 285.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/1.103, allocations: 92.69 kB / 1.336 GB, free: 285.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.366/3.47, allocations: 0.9171 GB / 2.254 GB, free: 3.812 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002822/3.47, allocations: 140.3 kB / 2.254 GB, free: 3.684 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: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 0.0118/3.482, allocations: 4.701 MB / 2.258 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/3.482, allocations: 8.031 kB / 2.258 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003545/3.486, allocations: 0.5873 MB / 2.259 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01051/3.496, allocations: 4.053 MB / 2.263 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/3.496, allocations: 120 kB / 2.263 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006772/3.497, allocations: 239.9 kB / 2.263 GB, free: 9.941 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008044/3.505, allocations: 5.083 MB / 2.268 GB, free: 4.852 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008184/3.513, allocations: 5.467 MB / 2.273 GB, free: 15.1 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.663e-05/3.513, allocations: 19.83 kB / 2.274 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000409/3.514, allocations: 8 kB / 2.274 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003902/3.514, allocations: 407 kB / 2.274 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3228/3.837, allocations: 24.97 MB / 2.298 GB, free: 161.7 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004771/3.842, allocations: 3.965 MB / 2.302 GB, free: 161.7 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002328/3.844, allocations: 2.297 MB / 2.304 GB, free: 161.7 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01598/3.86, allocations: 12.37 MB / 2.316 GB, free: 156.4 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002412/3.862, allocations: 2.081 MB / 2.319 GB, free: 156.3 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=310): time 4.979e-06/3.862, allocations: 1.312 kB / 2.319 GB, free: 156.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=334): time 0.07765/3.94, allocations: 18.67 MB / 2.337 GB, free: 155.3 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/3.94, allocations: 112.5 kB / 2.337 GB, free: 155.2 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002531/3.943, allocations: 2.219 MB / 2.339 GB, free: 155 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000303/3.943, allocations: 28.95 kB / 2.339 GB, free: 154.9 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000887/3.944, allocations: 1.525 MB / 2.341 GB, free: 154.3 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007862/3.945, allocations: 1.113 MB / 2.342 GB, free: 153.7 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/3.945, allocations: 0 / 2.342 GB, free: 153.7 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001443/3.945, allocations: 475 kB / 2.342 GB, free: 153.4 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002151/3.947, allocations: 1.886 MB / 2.344 GB, free: 153.4 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002567/3.95, allocations: 2.905 MB / 2.347 GB, free: 152.3 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02288/3.973, allocations: 5.29 MB / 2.352 GB, free: 152.3 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-05/3.973, allocations: 8.875 kB / 2.352 GB, free: 152.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.02747/4, allocations: 8.098 MB / 2.36 GB, free: 152 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.002256/4.002, allocations: 11.91 MB / 2.371 GB, free: 139.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.751e-05/4.003, allocations: 26.53 kB / 2.371 GB, free: 139.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.52e-05/4.003, allocations: 51.19 kB / 2.372 GB, free: 139.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03477/4.037, allocations: 3.858 MB / 2.375 GB, free: 139.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/4.049, allocations: 5.511 MB / 2.381 GB, free: 136.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004696/4.054, allocations: 296.5 kB / 2.381 GB, free: 136.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003816/4.054, allocations: 201.7 kB / 2.381 GB, free: 136.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/4.054, allocations: 6.531 kB / 2.381 GB, free: 136.1 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01716/4.071, allocations: 6.148 MB / 2.387 GB, free: 136 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.891e-05/4.071, allocations: 26.78 kB / 2.387 GB, free: 136 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.289e-05/4.071, allocations: 53.19 kB / 2.387 GB, free: 136 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0057/4.077, allocations: 1.336 MB / 2.389 GB, free: 136 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.714e-05/4.077, allocations: 70.91 kB / 2.389 GB, free: 136 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003636/4.081, allocations: 287.6 kB / 2.389 GB, free: 136 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003361/4.081, allocations: 202.4 kB / 2.389 GB, free: 136 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (512): * Single equations (assignments): 506 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000784/4.082, allocations: 215.3 kB / 2.389 GB, free: 135.9 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005041/4.082, allocations: 369 kB / 2.39 GB, free: 135.7 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02817/4.11, allocations: 8.22 MB / 2.398 GB, free: 135.5 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.72e-05/4.11, allocations: 39.97 kB / 2.398 GB, free: 135.5 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/4.11, allocations: 0 / 2.398 GB, free: 135.5 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02464/4.135, allocations: 6.986 MB / 2.405 GB, free: 135.2 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03834/4.173, allocations: 17.51 MB / 2.422 GB, free: 133.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.058e-05/4.174, allocations: 15.16 kB / 2.422 GB, free: 133.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03207/4.206, allocations: 3.494 MB / 2.425 GB, free: 133.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.815e-05/4.206, allocations: 31.22 kB / 2.425 GB, free: 133.7 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000401/4.206, allocations: 63.67 kB / 2.425 GB, free: 133.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01062/4.217, allocations: 5.37 MB / 2.43 GB, free: 130.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.379e-05/4.217, allocations: 30.22 kB / 2.43 GB, free: 130.2 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02978/4.247, allocations: 12.47 MB / 2.443 GB, free: 127 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002202/4.249, allocations: 0.9137 MB / 2.443 GB, free: 126.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006227/4.249, allocations: 38.69 kB / 2.444 GB, free: 126.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002614/4.252, allocations: 196.8 kB / 2.444 GB, free: 126.7 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003902/4.252, allocations: 250.3 kB / 2.444 GB, free: 126.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003081/4.253, allocations: 169.9 kB / 2.444 GB, free: 126.7 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.001909/4.255, allocations: 1.609 MB / 2.446 GB, free: 126.5 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.005972/4.261, allocations: 2.394 MB / 2.448 GB, free: 126.5 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * Number of states: 17 (pip0.mediums[1].T,pip0.mediums[2].T,pip1.mediums[1].T,pip1.mediums[2].T,pip2.mediums[1].T,pip2.mediums[2].T,pip3.mediums[1].T,pip3.mediums[2].T,pip4.mediums[1].T,pip4.mediums[2].T,pip5.mediums[1].T,pip5.mediums[2].T,senTem_p2.T,senTem_p3.T,senTemIn_p2.T,senTem_p1.T,senTem_p4.T) * Number of discrete variables: 4 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (395): * Single equations (assignments): 371 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002749/4.263, allocations: 1.764 MB / 2.45 GB, free: 126.4 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.05662/4.32, allocations: 11.28 MB / 2.461 GB, free: 126.3 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.26e-05/4.32, allocations: 7.094 kB / 2.461 GB, free: 126.3 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.05098/4.371, allocations: 6.257 MB / 2.467 GB, free: 126.3 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006132/4.377, allocations: 1.273 MB / 2.468 GB, free: 126.2 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/4.392, allocations: 9.022 MB / 2.477 GB, free: 124.3 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003789/4.395, allocations: 3.603 MB / 2.48 GB, free: 123.4 MB / 0.9011 GB Notification: Performance of SimCode: time 1.012e-06/4.395, allocations: 3.938 kB / 2.48 GB, free: 123.4 MB / 0.9011 GB Notification: Performance of Templates: time 0.1299/4.525, allocations: 100.4 MB / 2.579 GB, free: 98 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches