Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.504/2.504, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001565/0.001565, allocations: 180 kB / 0.4902 GB, free: 2.27 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.676/1.676, allocations: 223.1 MB / 0.7992 GB, free: 15.61 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.001155/0.001155, allocations: 110.6 kB / 0.9397 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004132, allocations: 10.31 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3357, allocations: 143 MB / 1.229 GB, free: 85.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.832/5.168, allocations: 1.873 GB / 3.103 GB, free: 104.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/5.168, allocations: 91.95 kB / 3.103 GB, free: 104.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 8.015/13.18, allocations: 2.092 GB / 5.194 GB, free: 187.2 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.903e-06/13.18, allocations: 0 / 5.194 GB, free: 187.2 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.000124/13.18, allocations: 56.73 kB / 5.194 GB, free: 187.2 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.004387/13.19, allocations: 1.867 MB / 5.196 GB, free: 186.3 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/13.19, allocations: 9.438 kB / 5.196 GB, free: 186.3 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000713/13.19, allocations: 199.1 kB / 5.196 GB, free: 186.2 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/13.19, allocations: 0.9503 MB / 5.197 GB, free: 185.9 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/13.19, allocations: 130.1 kB / 5.198 GB, free: 185.9 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-05/13.19, allocations: 89.25 kB / 5.198 GB, free: 185.9 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/13.19, allocations: 0.9002 MB / 5.198 GB, free: 185.6 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/13.19, allocations: 3.562 kB / 5.198 GB, free: 185.6 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.856e-05/13.19, allocations: 38.25 kB / 5.199 GB, free: 185.6 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/13.19, allocations: 20.03 kB / 5.199 GB, free: 185.6 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008199/13.19, allocations: 0.4952 MB / 5.199 GB, free: 185.6 MB / 1.182 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003972/13.2, allocations: 4.856 MB / 5.204 GB, free: 182.2 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004948/13.2, allocations: 416.5 kB / 5.204 GB, free: 181.9 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/13.2, allocations: 105.1 kB / 5.204 GB, free: 181.8 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/13.2, allocations: 56.72 kB / 5.204 GB, free: 181.7 MB / 1.182 GB Notification: Performance of pre-optimization done (n=31): time 1.954e-06/13.2, allocations: 0 / 5.204 GB, free: 181.7 MB / 1.182 GB Notification: Performance of matching and sorting (n=31): time 0.001598/13.2, allocations: 0.7903 MB / 5.205 GB, free: 181.4 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/13.2, allocations: 397.3 kB / 5.205 GB, free: 180.9 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/13.2, allocations: 1.098 MB / 5.207 GB, free: 180.8 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 4.722e-05/13.2, allocations: 39.3 kB / 5.207 GB, free: 180.7 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003826/13.2, allocations: 0.5572 MB / 5.207 GB, free: 180.6 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 6.533e-05/13.2, allocations: 101.6 kB / 5.207 GB, free: 180.5 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/13.2, allocations: 6.938 kB / 5.207 GB, free: 180.5 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 7.496e-05/13.2, allocations: 322.9 kB / 5.208 GB, free: 180.2 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/13.2, allocations: 87.98 kB / 5.208 GB, free: 180.2 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/13.2, allocations: 373.5 kB / 5.208 GB, free: 179.9 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/13.2, allocations: 144.4 kB / 5.208 GB, free: 179.9 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/13.2, allocations: 7.734 kB / 5.208 GB, free: 179.9 MB / 1.182 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007008/13.2, allocations: 0.4884 MB / 5.209 GB, free: 179.8 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/13.2, allocations: 8.719 kB / 5.209 GB, free: 179.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/13.2, allocations: 10.8 kB / 5.209 GB, free: 179.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002471/13.2, allocations: 64.16 kB / 5.209 GB, free: 179.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/13.2, allocations: 59.06 kB / 5.209 GB, free: 179.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/13.2, allocations: 2.912 MB / 5.212 GB, free: 177.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008761/13.21, allocations: 128.6 kB / 5.212 GB, free: 177 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.702e-05/13.21, allocations: 29.06 kB / 5.212 GB, free: 177 MB / 1.182 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 () * Number of clocked 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.0003795/13.21, allocations: 276.3 kB / 5.212 GB, free: 176.9 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003455/13.21, allocations: 140.2 kB / 5.212 GB, free: 176.8 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/13.21, allocations: 124 kB / 5.212 GB, free: 176.8 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/13.21, allocations: 6.797 kB / 5.212 GB, free: 176.8 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/13.21, allocations: 6.906 kB / 5.212 GB, free: 176.8 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/13.21, allocations: 7.812 kB / 5.212 GB, free: 176.8 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002862/13.21, allocations: 2.513 MB / 5.215 GB, free: 175.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/13.21, allocations: 6.25 kB / 5.215 GB, free: 175.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/13.21, allocations: 46.72 kB / 5.215 GB, free: 175.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001562/13.21, allocations: 74.36 kB / 5.215 GB, free: 175.2 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/13.21, allocations: 11.09 kB / 5.215 GB, free: 175.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/13.21, allocations: 2.92 MB / 5.218 GB, free: 172.6 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/13.21, allocations: 7.469 kB / 5.218 GB, free: 172.6 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009882/13.21, allocations: 0.9973 MB / 5.219 GB, free: 171.7 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000385/13.21, allocations: 258.1 kB / 5.219 GB, free: 171.5 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/13.21, allocations: 12.78 kB / 5.219 GB, free: 171.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007164/13.21, allocations: 73.17 kB / 5.219 GB, free: 171.5 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.874e-05/13.21, allocations: 42.77 kB / 5.219 GB, free: 171.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/13.21, allocations: 20.08 kB / 5.219 GB, free: 171.5 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001128/13.22, allocations: 0.8664 MB / 5.22 GB, free: 171.4 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.6e-07/13.22, allocations: 0 / 5.22 GB, free: 171.4 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.003716/13.22, allocations: 0.6156 MB / 5.221 GB, free: 171.4 MB / 1.182 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 () * Number of clocked 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.007156/13.23, allocations: 3.511 MB / 5.224 GB, free: 169.8 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.001417/13.23, allocations: 0.5155 MB / 5.224 GB, free: 169.5 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/13.23, allocations: 6.188 kB / 5.224 GB, free: 169.5 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0006874/13.23, allocations: 406.1 kB / 5.225 GB, free: 169.3 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004717/13.23, allocations: 0.7491 MB / 5.226 GB, free: 169.3 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/13.24, allocations: 2.066 MB / 5.228 GB, free: 168.1 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006301/13.24, allocations: 1.156 MB / 5.229 GB, free: 167.4 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.0009356/13.24, allocations: 240.4 kB / 5.229 GB, free: 167.4 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/13.24, allocations: 73.28 kB / 5.229 GB, free: 167.4 MB / 1.182 GB Notification: Performance of SimCode: time 1.002e-06/13.24, allocations: 3.5 kB / 5.229 GB, free: 167.4 MB / 1.182 GB Notification: Performance of Templates: time 0.1064/13.34, allocations: 59.39 MB / 5.287 GB, free: 119.3 MB / 1.182 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches