Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 91.77 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007607/0.007607, allocations: 172.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.127/3.127, allocations: 483.2 MB / 0.7564 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0005841/0.0005843, allocations: 12.53 kB / 0.9276 GB, free: 29.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.4292, allocations: 164.5 MB / 1.088 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2484/0.6777, allocations: 157.2 MB / 1.242 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003306/0.6811, allocations: 1.7 MB / 1.243 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002138/0.6813, allocations: 15.88 kB / 1.243 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005925/0.6819, allocations: 127.3 kB / 1.244 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.6833, allocations: 494 kB / 1.244 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.6844, allocations: 381.8 kB / 1.244 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0009983/0.6854, allocations: 0.737 MB / 1.245 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003012/0.6857, allocations: 156.5 kB / 1.245 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.6867, allocations: 430.3 kB / 1.246 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.687, allocations: 155.3 kB / 1.246 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.257e-05/0.687, allocations: 8 kB / 1.246 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001346/0.6884, allocations: 0.7678 MB / 1.247 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.6885, allocations: 71.72 kB / 1.247 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.6887, allocations: 141 kB / 1.247 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007967/0.6895, allocations: 0.5063 MB / 1.247 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.6895, allocations: 0 / 1.247 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6895, allocations: 0 / 1.247 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.864e-06/0.6895, allocations: 3.938 kB / 1.247 GB, free: 6.789 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009631/0.6905, allocations: 0.5411 MB / 1.248 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.6905, allocations: 11.97 kB / 1.248 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003825/0.6909, allocations: 55.67 kB / 1.248 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.6913, allocations: 289.2 kB / 1.248 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.6914, allocations: 8 kB / 1.248 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.6914, allocations: 16 kB / 1.248 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004561/0.6919, allocations: 208.6 kB / 1.248 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.6919, allocations: 0 / 1.248 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.6919, allocations: 4 kB / 1.248 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.6919, allocations: 4 kB / 1.248 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003445/0.6923, allocations: 139.9 kB / 1.249 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.6935, allocations: 0.7886 MB / 1.249 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.6938, allocations: 90.53 kB / 1.249 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.694, allocations: 80.81 kB / 1.249 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003531/0.6943, allocations: 190.2 kB / 1.25 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.6944, allocations: 34.56 kB / 1.25 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.6944, allocations: 0 / 1.25 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0007475/0.6951, allocations: 241.2 kB / 1.25 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.6952, allocations: 55.41 kB / 1.25 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.6955, allocations: 263 kB / 1.25 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.6956, allocations: 33.7 kB / 1.25 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.6957, allocations: 144 kB / 1.25 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.6957, allocations: 39.44 kB / 1.25 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.6958, allocations: 13.72 kB / 1.25 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.6959, allocations: 338.8 kB / 1.251 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.6961, allocations: 43.97 kB / 1.251 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.6963, allocations: 101.4 kB / 1.251 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.6966, allocations: 131.4 kB / 1.251 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.6966, allocations: 192 / 1.251 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003748/0.697, allocations: 173.3 kB / 1.251 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.9e-05/0.6971, allocations: 123.5 kB / 1.251 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.6971, allocations: 0 / 1.251 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.6971, allocations: 4 kB / 1.251 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.6972, allocations: 19.98 kB / 1.251 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/0.6973, allocations: 4 kB / 1.251 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.6975, allocations: 35.7 kB / 1.251 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.6975, allocations: 11.98 kB / 1.251 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.822e-06/0.6975, allocations: 4 kB / 1.251 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003041/0.6978, allocations: 111.9 kB / 1.251 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.6978, allocations: 4 kB / 1.251 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-06/0.6979, allocations: 4.031 kB / 1.251 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.698, allocations: 23.98 kB / 1.252 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.698, allocations: 3.938 kB / 1.252 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.6982, allocations: 31.75 kB / 1.252 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.6982, allocations: 8.047 kB / 1.252 GB, free: 2.094 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000183/0.6984, allocations: 221.1 kB / 1.252 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.6984, allocations: 27.72 kB / 1.252 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000423/0.6989, allocations: 167.3 kB / 1.252 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.6989, allocations: 0 / 1.252 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.6989, allocations: 3.938 kB / 1.252 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.6989, allocations: 4 kB / 1.252 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.6999, allocations: 0.5938 MB / 1.253 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.6999, allocations: 0 / 1.253 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.7001, allocations: 31.91 kB / 1.253 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.7001, allocations: 4 kB / 1.253 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.7001, allocations: 4 kB / 1.253 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.7001, allocations: 4.219 kB / 1.253 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.7001, allocations: 8 kB / 1.253 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/0.7005, allocations: 301.1 kB / 1.253 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.7007, allocations: 116.7 kB / 1.253 GB, free: 484 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.7007, allocations: 12.12 kB / 1.253 GB, free: 472 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.7009, allocations: 15.98 kB / 1.253 GB, free: 456 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.701, allocations: 20.19 kB / 1.253 GB, free: 436 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.701, allocations: 8 kB / 1.253 GB, free: 428 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001986/0.7012, allocations: 193.9 kB / 1.253 GB, free: 236 kB / 0.9981 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7012, allocations: 0 / 1.253 GB, free: 236 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004743/0.7017, allocations: 91.84 kB / 1.253 GB, free: 144 kB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.6635/1.365, allocations: 165.9 kB / 1.253 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007096/1.366, allocations: 175.9 kB / 1.254 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.366, allocations: 0.875 kB / 1.254 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001808/1.366, allocations: 69.62 kB / 1.254 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/1.367, allocations: 126.4 kB / 1.254 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008361/1.368, allocations: 0.5114 MB / 1.254 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/1.368, allocations: 0.7566 MB / 1.255 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002661/1.369, allocations: 70.81 kB / 1.255 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.36e-05/1.369, allocations: 21.69 kB / 1.255 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/1.369, allocations: 3.094 kB / 1.255 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.0124/1.381, allocations: 4.245 MB / 1.259 GB, free: 171.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches