Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.41/2.41, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001052/0.001052, allocations: 184.9 kB / 487.4 MB, free: 5.047 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.558/1.558, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 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.0009328/0.0009328, allocations: 95.83 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.205e-05/2.197e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3422, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.172/5.514, allocations: 1.872 GB / 3.078 GB, free: 9.188 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/5.515, allocations: 83.95 kB / 3.078 GB, free: 9.105 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 8.588/14.1, allocations: 2.067 GB / 5.145 GB, free: 127.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.653e-06/14.1, allocations: 0 / 5.145 GB, free: 127.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002159/14.1, allocations: 47.34 kB / 5.146 GB, free: 127.6 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.004951/14.11, allocations: 1.639 MB / 5.147 GB, free: 125.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/14.11, allocations: 8.031 kB / 5.147 GB, free: 125.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/14.11, allocations: 198.1 kB / 5.147 GB, free: 125.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002727/14.11, allocations: 0.9419 MB / 5.148 GB, free: 124.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/14.11, allocations: 93.39 kB / 5.148 GB, free: 124.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002251/14.11, allocations: 56 kB / 5.148 GB, free: 124.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009391/14.11, allocations: 383.8 kB / 5.149 GB, free: 124.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/14.11, allocations: 0.7574 MB / 5.149 GB, free: 123.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/14.11, allocations: 7.938 kB / 5.149 GB, free: 123.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.361e-05/14.12, allocations: 4 kB / 5.15 GB, free: 123.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/14.12, allocations: 23.5 kB / 5.15 GB, free: 123.3 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.004938/14.12, allocations: 4.572 MB / 5.154 GB, free: 118.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/14.12, allocations: 376.8 kB / 5.154 GB, free: 118 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/14.12, allocations: 231.9 kB / 5.155 GB, free: 117.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002/14.12, allocations: 101.1 kB / 5.155 GB, free: 117.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/14.12, allocations: 58.42 kB / 5.155 GB, free: 117.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 3.627e-06/14.12, allocations: 0 / 5.155 GB, free: 117.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.001315/14.12, allocations: 380.7 kB / 5.155 GB, free: 117.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/14.12, allocations: 401.1 kB / 5.155 GB, free: 116.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009492/14.12, allocations: 0.6604 MB / 5.156 GB, free: 116 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.6e-05/14.12, allocations: 29.7 kB / 5.156 GB, free: 116 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/14.12, allocations: 0.5707 MB / 5.157 GB, free: 115.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.545e-05/14.12, allocations: 102.4 kB / 5.157 GB, free: 115.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/14.12, allocations: 0 / 5.157 GB, free: 115.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.355e-05/14.12, allocations: 325.9 kB / 5.157 GB, free: 115 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/14.12, allocations: 71.97 kB / 5.157 GB, free: 114.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/14.12, allocations: 340.3 kB / 5.158 GB, free: 114.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/14.12, allocations: 125.1 kB / 5.158 GB, free: 114.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/14.12, allocations: 0 / 5.158 GB, free: 114.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006423/14.13, allocations: 394 kB / 5.158 GB, free: 114 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/14.13, allocations: 5.25 kB / 5.158 GB, free: 113.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/14.13, allocations: 4 kB / 5.158 GB, free: 113.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002642/14.13, allocations: 65.81 kB / 5.158 GB, free: 113.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/14.13, allocations: 71.89 kB / 5.158 GB, free: 113.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/14.13, allocations: 2.769 MB / 5.161 GB, free: 110.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007775/14.13, allocations: 59.69 kB / 5.161 GB, free: 110.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.096e-05/14.13, allocations: 31.95 kB / 5.161 GB, free: 110.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000153/14.13, allocations: 121.1 kB / 5.161 GB, free: 110.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004173/14.13, allocations: 106.8 kB / 5.161 GB, free: 110.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001694/14.13, allocations: 92.77 kB / 5.161 GB, free: 110.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.495e-06/14.13, allocations: 11.17 kB / 5.161 GB, free: 110.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/14.13, allocations: 4 kB / 5.161 GB, free: 110.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/14.13, allocations: 4 kB / 5.161 GB, free: 110.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/14.13, allocations: 2.335 MB / 5.164 GB, free: 107.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/14.13, allocations: 4 kB / 5.164 GB, free: 107.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/14.13, allocations: 56.59 kB / 5.164 GB, free: 107.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001674/14.13, allocations: 69.67 kB / 5.164 GB, free: 107.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/14.13, allocations: 8 kB / 5.164 GB, free: 107.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/14.13, allocations: 2.787 MB / 5.166 GB, free: 104.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.787e-06/14.13, allocations: 15.89 kB / 5.166 GB, free: 104.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007488/14.14, allocations: 0.8558 MB / 5.167 GB, free: 103.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003772/14.14, allocations: 215.7 kB / 5.167 GB, free: 103.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/14.14, allocations: 7.938 kB / 5.167 GB, free: 103.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006796/14.14, allocations: 55.89 kB / 5.168 GB, free: 103.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.805e-05/14.14, allocations: 43.84 kB / 5.168 GB, free: 103.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/14.14, allocations: 16 kB / 5.168 GB, free: 103.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006616/14.14, allocations: 0.507 MB / 5.168 GB, free: 102.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/14.14, allocations: 0 / 5.168 GB, free: 102.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002647/14.14, allocations: 0.5344 MB / 5.169 GB, free: 102.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00653/14.15, allocations: 3.891 MB / 5.172 GB, free: 98.54 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0009355/14.15, allocations: 463.7 kB / 5.173 GB, free: 98.07 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/14.15, allocations: 4 kB / 5.173 GB, free: 98.07 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004033/14.15, allocations: 357.4 kB / 5.173 GB, free: 97.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/14.15, allocations: 433.7 kB / 5.174 GB, free: 97.29 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002729/14.15, allocations: 1.269 MB / 5.175 GB, free: 95.92 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007415/14.15, allocations: 1.159 MB / 5.176 GB, free: 94.74 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008303/14.16, allocations: 174.8 kB / 5.176 GB, free: 94.57 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/14.16, allocations: 59.44 kB / 5.176 GB, free: 94.51 MB / 1.167 GB Notification: Performance of SimCode: time 1.292e-06/14.16, allocations: 4 kB / 5.176 GB, free: 94.51 MB / 1.167 GB Notification: Performance of Templates: time 0.04896/14.2, allocations: 31.87 MB / 5.207 GB, free: 62.83 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches