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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.25/2.25, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001127/0.001128, allocations: 176.9 kB / 487.4 MB, free: 5.066 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.654/1.654, allocations: 221.5 MB / 0.7824 GB, free: 1.035 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.001209/0.001209, allocations: 104.9 kB / 0.9219 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.352e-05/2.355e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3775, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.462/1.839, allocations: 480.7 MB / 1.675 GB, free: 7.84 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/1.84, allocations: 97.55 kB / 1.676 GB, free: 7.789 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 4.036/5.876, allocations: 0.944 GB / 2.62 GB, free: 14.68 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.875e-06/5.876, allocations: 0 / 2.62 GB, free: 14.68 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0007622/5.877, allocations: 135.8 kB / 2.62 GB, free: 14.55 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: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 0.01931/5.896, allocations: 4.658 MB / 2.624 GB, free: 9.828 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/5.896, allocations: 8.031 kB / 2.624 GB, free: 9.82 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004964/5.901, allocations: 0.5795 MB / 2.625 GB, free: 9.234 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01641/5.918, allocations: 4.043 MB / 2.629 GB, free: 5.121 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000462/5.918, allocations: 120 kB / 2.629 GB, free: 5.004 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003132/5.922, allocations: 239.9 kB / 2.629 GB, free: 4.77 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01309/5.935, allocations: 4.958 MB / 2.634 GB, free: 15.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02236/5.957, allocations: 5.403 MB / 2.639 GB, free: 10.11 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003807/5.958, allocations: 19.86 kB / 2.639 GB, free: 10.09 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002367/5.96, allocations: 8 kB / 2.639 GB, free: 10.09 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007034/5.961, allocations: 383.1 kB / 2.64 GB, free: 9.711 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9543/6.915, allocations: 24.24 MB / 2.663 GB, free: 137.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007995/6.923, allocations: 4.278 MB / 2.667 GB, free: 137.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004168/6.927, allocations: 2.24 MB / 2.67 GB, free: 137.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02313/6.95, allocations: 12.34 MB / 2.682 GB, free: 132.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003445/6.954, allocations: 2.102 MB / 2.684 GB, free: 132.2 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004021/6.958, allocations: 0.5765 MB / 2.684 GB, free: 132.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=310): time 7.825e-06/6.958, allocations: 0 / 2.684 GB, free: 132.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=334): time 0.08544/7.043, allocations: 18.49 MB / 2.702 GB, free: 130.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/7.044, allocations: 113.2 kB / 2.702 GB, free: 130.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006153/7.05, allocations: 2.193 MB / 2.705 GB, free: 130.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001618/7.051, allocations: 33.86 kB / 2.705 GB, free: 130.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002169/7.054, allocations: 2.059 MB / 2.707 GB, free: 129.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001852/7.055, allocations: 1.113 MB / 2.708 GB, free: 129.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/7.056, allocations: 0 / 2.708 GB, free: 129.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002267/7.056, allocations: 476.7 kB / 2.708 GB, free: 129 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003148/7.059, allocations: 1.799 MB / 2.71 GB, free: 129 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0038/7.063, allocations: 2.822 MB / 2.713 GB, free: 127.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02653/7.089, allocations: 5.238 MB / 2.718 GB, free: 127.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.733e-05/7.09, allocations: 8.156 kB / 2.718 GB, free: 127.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.03118/7.121, allocations: 7.981 MB / 2.726 GB, free: 127.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002571/7.123, allocations: 11.95 MB / 2.737 GB, free: 115.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.755e-05/7.124, allocations: 26.34 kB / 2.737 GB, free: 115.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001283/7.124, allocations: 55.2 kB / 2.737 GB, free: 115.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03226/7.156, allocations: 4.216 MB / 2.741 GB, free: 115.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/7.167, allocations: 5.462 MB / 2.747 GB, free: 111.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007617/7.174, allocations: 301.8 kB / 2.747 GB, free: 111.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002118/7.176, allocations: 207.5 kB / 2.747 GB, free: 111.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/7.177, allocations: 7.844 kB / 2.747 GB, free: 111.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02048/7.197, allocations: 6.023 MB / 2.753 GB, free: 111.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.771e-05/7.197, allocations: 32.39 kB / 2.753 GB, free: 111.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.614e-05/7.197, allocations: 56.75 kB / 2.753 GB, free: 111.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006118/7.203, allocations: 1.383 MB / 2.755 GB, free: 111.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.667e-05/7.203, allocations: 66.09 kB / 2.755 GB, free: 111.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005608/7.209, allocations: 299.9 kB / 2.755 GB, free: 111.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00106/7.21, allocations: 199.6 kB / 2.755 GB, free: 111.6 MB / 1.167 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.001453/7.212, allocations: 212.7 kB / 2.755 GB, free: 111.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001298/7.213, allocations: 367.9 kB / 2.756 GB, free: 111.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02884/7.242, allocations: 7.905 MB / 2.763 GB, free: 111.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.675e-05/7.242, allocations: 46.16 kB / 2.763 GB, free: 111.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.618e-05/7.242, allocations: 7.609 kB / 2.763 GB, free: 111.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02547/7.267, allocations: 6.882 MB / 2.77 GB, free: 110.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04202/7.309, allocations: 14.07 MB / 2.784 GB, free: 109.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.978e-05/7.31, allocations: 9.781 kB / 2.784 GB, free: 109.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02927/7.339, allocations: 3.828 MB / 2.788 GB, free: 109.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.09e-05/7.339, allocations: 28.62 kB / 2.788 GB, free: 109.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009052/7.34, allocations: 64.52 kB / 2.788 GB, free: 109.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01001/7.35, allocations: 5.334 MB / 2.793 GB, free: 106.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.681e-05/7.35, allocations: 23.61 kB / 2.793 GB, free: 106.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03302/7.383, allocations: 11.81 MB / 2.805 GB, free: 103.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004406/7.387, allocations: 0.9482 MB / 2.805 GB, free: 103.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001633/7.389, allocations: 30.05 kB / 2.805 GB, free: 103.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004376/7.393, allocations: 213.2 kB / 2.806 GB, free: 103.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004419/7.394, allocations: 274.1 kB / 2.806 GB, free: 103.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004206/7.394, allocations: 169.4 kB / 2.806 GB, free: 103.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002558/7.397, allocations: 1.591 MB / 2.808 GB, free: 103.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.5e-07/7.397, allocations: 0 / 2.808 GB, free: 103.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01271/7.41, allocations: 2.394 MB / 2.81 GB, free: 103.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * 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.004884/7.415, allocations: 1.812 MB / 2.812 GB, free: 103 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.05649/7.471, allocations: 11.44 MB / 2.823 GB, free: 102.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.303e-05/7.471, allocations: 5.094 kB / 2.823 GB, free: 102.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.04588/7.517, allocations: 6.618 MB / 2.829 GB, free: 102.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01004/7.527, allocations: 1.316 MB / 2.831 GB, free: 102.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02589/7.553, allocations: 8.702 MB / 2.839 GB, free: 100.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003985/7.557, allocations: 3.147 MB / 2.842 GB, free: 99.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01199/7.569, allocations: 2.771 MB / 2.845 GB, free: 99.67 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001446/7.571, allocations: 322.8 kB / 2.845 GB, free: 99.67 MB / 1.167 GB Notification: Performance of SimCode: time 3.377e-06/7.571, allocations: 0 / 2.845 GB, free: 99.67 MB / 1.167 GB Notification: Performance of Templates: time 0.1399/7.711, allocations: 78.25 MB / 2.922 GB, free: 94.9 MB / 1.167 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