Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.112/2.112, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001278/0.001278, allocations: 176.5 kB / 487 MB, free: 5.387 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.561/1.561, allocations: 221.3 MB / 0.7819 GB, free: 1.457 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 105.4 kB / 0.9213 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.033e-05/1.035e-05, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3018, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.185/1.487, allocations: 480.7 MB / 1.675 GB, free: 8.84 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/1.487, allocations: 85.58 kB / 1.675 GB, free: 8.797 MB / 1.104 GB Notification: Performance of FrontEnd: time 4.165/5.652, allocations: 0.9525 GB / 2.627 GB, free: 131.9 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0006488/5.653, allocations: 131.2 kB / 2.627 GB, free: 131.9 MB / 1.182 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.02108/5.674, allocations: 4.706 MB / 2.632 GB, free: 130.4 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/5.674, allocations: 12.03 kB / 2.632 GB, free: 130.4 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005007/5.679, allocations: 0.5813 MB / 2.633 GB, free: 130.1 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01477/5.694, allocations: 4.077 MB / 2.637 GB, free: 129.6 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003004/5.694, allocations: 119 kB / 2.637 GB, free: 129.6 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002345/5.696, allocations: 237.8 kB / 2.637 GB, free: 129.6 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01253/5.709, allocations: 5.088 MB / 2.642 GB, free: 129.6 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01722/5.726, allocations: 5.528 MB / 2.647 GB, free: 128.8 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001709/5.726, allocations: 17.69 kB / 2.647 GB, free: 128.8 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001089/5.728, allocations: 7.625 kB / 2.647 GB, free: 128.8 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004548/5.728, allocations: 410.4 kB / 2.648 GB, free: 128.8 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04818/5.776, allocations: 25.04 MB / 2.672 GB, free: 115.4 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008254/5.784, allocations: 3.968 MB / 2.676 GB, free: 115.4 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003846/5.788, allocations: 2.296 MB / 2.678 GB, free: 115.3 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02598/5.814, allocations: 12.42 MB / 2.69 GB, free: 109.9 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003571/5.818, allocations: 2.136 MB / 2.692 GB, free: 109.8 MB / 1.182 GB Notification: Performance of pre-optimization done (n=310): time 5.6e-06/5.818, allocations: 0 / 2.692 GB, free: 109.8 MB / 1.182 GB Notification: Performance of matching and sorting (n=334): time 0.1395/5.958, allocations: 18.68 MB / 2.711 GB, free: 108.5 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/5.958, allocations: 115 kB / 2.711 GB, free: 108.4 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004864/5.963, allocations: 2.223 MB / 2.713 GB, free: 108.1 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.00175/5.964, allocations: 35.92 kB / 2.713 GB, free: 108.1 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001786/5.966, allocations: 1.519 MB / 2.714 GB, free: 107.2 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.002481/5.969, allocations: 1.106 MB / 2.716 GB, free: 106.5 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002946/5.969, allocations: 0 / 2.716 GB, free: 106.5 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0002864/5.969, allocations: 477.3 kB / 2.716 GB, free: 106.1 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003202/5.973, allocations: 1.883 MB / 2.718 GB, free: 106.1 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003859/5.976, allocations: 2.904 MB / 2.721 GB, free: 105 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02809/6.005, allocations: 5.29 MB / 2.726 GB, free: 105 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.444e-05/6.005, allocations: 6.75 kB / 2.726 GB, free: 105 MB / 1.182 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.03722/6.042, allocations: 8.098 MB / 2.734 GB, free: 104.7 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.003349/6.045, allocations: 11.92 MB / 2.745 GB, free: 92.38 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001072/6.045, allocations: 30.53 kB / 2.745 GB, free: 92.38 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001002/6.046, allocations: 53.97 kB / 2.745 GB, free: 92.38 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04141/6.087, allocations: 3.861 MB / 2.749 GB, free: 92.38 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0137/6.101, allocations: 5.502 MB / 2.755 GB, free: 88.86 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007271/6.108, allocations: 297.7 kB / 2.755 GB, free: 88.84 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002069/6.11, allocations: 203.4 kB / 2.755 GB, free: 88.84 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/6.11, allocations: 3.844 kB / 2.755 GB, free: 88.84 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02482/6.135, allocations: 6.143 MB / 2.761 GB, free: 88.76 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.75e-05/6.135, allocations: 29.34 kB / 2.761 GB, free: 88.76 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.399e-05/6.135, allocations: 53.31 kB / 2.761 GB, free: 88.76 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007441/6.143, allocations: 1.336 MB / 2.762 GB, free: 88.76 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001136/6.143, allocations: 65.12 kB / 2.763 GB, free: 88.76 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006204/6.149, allocations: 295.3 kB / 2.763 GB, free: 88.73 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001706/6.151, allocations: 197.1 kB / 2.763 GB, free: 88.73 MB / 1.182 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.001748/6.153, allocations: 212.5 kB / 2.763 GB, free: 88.61 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001361/6.154, allocations: 378.6 kB / 2.764 GB, free: 88.42 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0362/6.19, allocations: 8.219 MB / 2.772 GB, free: 88.23 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.186e-05/6.19, allocations: 48.67 kB / 2.772 GB, free: 88.23 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/6.19, allocations: 0 / 2.772 GB, free: 88.23 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.032/6.222, allocations: 6.971 MB / 2.778 GB, free: 87.9 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05802/6.28, allocations: 17.56 MB / 2.796 GB, free: 86.35 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.931e-05/6.28, allocations: 15.75 kB / 2.796 GB, free: 86.35 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03678/6.317, allocations: 3.491 MB / 2.799 GB, free: 86.35 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.814e-05/6.317, allocations: 35.75 kB / 2.799 GB, free: 86.34 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00111/6.319, allocations: 65.08 kB / 2.799 GB, free: 86.34 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01258/6.331, allocations: 5.365 MB / 2.804 GB, free: 82.84 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.493e-05/6.331, allocations: 29.22 kB / 2.804 GB, free: 82.83 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03721/6.368, allocations: 12.47 MB / 2.817 GB, free: 79.69 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003894/6.372, allocations: 0.933 MB / 2.817 GB, free: 79.39 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001609/6.374, allocations: 46.78 kB / 2.818 GB, free: 79.39 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005792/6.38, allocations: 199.8 kB / 2.818 GB, free: 79.38 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001034/6.381, allocations: 250.9 kB / 2.818 GB, free: 79.36 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007686/6.382, allocations: 171.8 kB / 2.818 GB, free: 79.36 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.004263/6.386, allocations: 1.611 MB / 2.82 GB, free: 79.22 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.01804/6.404, allocations: 2.402 MB / 2.822 GB, free: 79.04 MB / 1.182 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.005549/6.41, allocations: 1.775 MB / 2.824 GB, free: 78.64 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.06632/6.476, allocations: 11.28 MB / 2.835 GB, free: 78.55 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 3.053e-05/6.476, allocations: 7.625 kB / 2.835 GB, free: 78.55 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.05537/6.531, allocations: 6.261 MB / 2.841 GB, free: 78.55 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009115/6.541, allocations: 1.272 MB / 2.842 GB, free: 78.51 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01998/6.561, allocations: 9.031 MB / 2.851 GB, free: 76.49 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004937/6.566, allocations: 3.609 MB / 2.854 GB, free: 75.68 MB / 1.182 GB Notification: Performance of SimCode: time 1.683e-06/6.566, allocations: 3.062 kB / 2.854 GB, free: 75.68 MB / 1.182 GB Notification: Performance of Templates: time 0.1768/6.743, allocations: 101.2 MB / 2.953 GB, free: 43.67 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.csv","../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches