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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001061/0.001061, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 178.8 kB / 16.92 MB, free: 6.652 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.523/1.523, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.788/2.788, allocations: 462.6 MB / 0.7371 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004761, allocations: 9.219 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3782, allocations: 159.6 MB / 1.059 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1764/0.5547, allocations: 157.2 MB / 1.213 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003613/0.5583, allocations: 1.707 MB / 1.215 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004523/0.5588, allocations: 11.94 kB / 1.215 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000574/0.5594, allocations: 131.2 kB / 1.215 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.5608, allocations: 494 kB / 1.215 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.562, allocations: 377.5 kB / 1.215 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001012/0.563, allocations: 0.7565 MB / 1.216 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003503/0.5634, allocations: 148.5 kB / 1.216 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000707/0.5641, allocations: 294.8 kB / 1.217 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002821/0.5644, allocations: 155.3 kB / 1.217 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.5644, allocations: 11.94 kB / 1.217 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.5657, allocations: 0.7678 MB / 1.218 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.5659, allocations: 87.66 kB / 1.218 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.5661, allocations: 133.1 kB / 1.218 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005611/0.5666, allocations: 343.2 kB / 1.218 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.5666, allocations: 0 / 1.218 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.765e-06/0.5666, allocations: 0 / 1.218 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.5667, allocations: 0 / 1.218 GB, free: 1.836 MB / 0.9669 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.000869/0.5675, allocations: 0.5333 MB / 1.219 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.5676, allocations: 12.03 kB / 1.219 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003867/0.568, allocations: 55.67 kB / 1.219 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.5684, allocations: 293.3 kB / 1.219 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.5684, allocations: 8 kB / 1.219 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.5684, allocations: 16 kB / 1.219 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004119/0.5689, allocations: 208.6 kB / 1.219 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.5689, allocations: 3.938 kB / 1.219 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.5689, allocations: 4 kB / 1.219 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.5689, allocations: 7.938 kB / 1.219 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003371/0.5693, allocations: 135.8 kB / 1.219 GB, free: 480 kB / 0.9669 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.001138/0.5704, allocations: 0.7887 MB / 1.22 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.5707, allocations: 90.47 kB / 1.22 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.5709, allocations: 84.86 kB / 1.22 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000343/0.5712, allocations: 186.2 kB / 1.22 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.5713, allocations: 30.56 kB / 1.22 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.5713, allocations: 0 / 1.22 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0007277/0.572, allocations: 237.2 kB / 1.221 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.5721, allocations: 55.41 kB / 1.221 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.5723, allocations: 275 kB / 1.221 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.5724, allocations: 25.7 kB / 1.221 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.5725, allocations: 147.9 kB / 1.221 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.5725, allocations: 31.55 kB / 1.221 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.5726, allocations: 17.72 kB / 1.221 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.5727, allocations: 334.8 kB / 1.222 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.5728, allocations: 47.97 kB / 1.222 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.573, allocations: 97.05 kB / 1.222 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.5733, allocations: 139.3 kB / 1.222 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5733, allocations: 0 / 1.222 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003766/0.5737, allocations: 169.3 kB / 1.222 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.183e-05/0.5738, allocations: 115.5 kB / 1.222 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.5738, allocations: 0 / 1.222 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.5738, allocations: 4.562 kB / 1.222 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.574, allocations: 31.92 kB / 1.222 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.574, allocations: 4 kB / 1.222 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.5742, allocations: 23.83 kB / 1.222 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.5742, allocations: 12.05 kB / 1.222 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/0.5743, allocations: 4 kB / 1.222 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002934/0.5746, allocations: 119.8 kB / 1.222 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.5746, allocations: 4 kB / 1.222 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-06/0.5746, allocations: 0 / 1.222 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.5747, allocations: 27.92 kB / 1.222 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.5747, allocations: 0 / 1.222 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.5749, allocations: 35.88 kB / 1.222 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.5749, allocations: 4 kB / 1.222 GB, free: 13.14 MB / 0.9825 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.0001557/0.5751, allocations: 217 kB / 1.223 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/0.5752, allocations: 23.72 kB / 1.223 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003935/0.5756, allocations: 175.3 kB / 1.223 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.5756, allocations: 0 / 1.223 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.5756, allocations: 3.938 kB / 1.223 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.5756, allocations: 288 / 1.223 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.5767, allocations: 0.6093 MB / 1.223 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.5767, allocations: 4.156 kB / 1.223 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.5768, allocations: 27.98 kB / 1.223 GB, free: 12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.5769, allocations: 4 kB / 1.223 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.5769, allocations: 4 kB / 1.223 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.5769, allocations: 0 / 1.223 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.5769, allocations: 4 kB / 1.223 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004178/0.5773, allocations: 317 kB / 1.224 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.5774, allocations: 112.8 kB / 1.224 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.5775, allocations: 4 kB / 1.224 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.5777, allocations: 15.98 kB / 1.224 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.853e-05/0.5778, allocations: 15.92 kB / 1.224 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.5778, allocations: 8 kB / 1.224 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000207/0.578, allocations: 197.9 kB / 1.224 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.578, allocations: 0 / 1.224 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004945/0.5785, allocations: 91.84 kB / 1.224 GB, free: 11.18 MB / 0.9825 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.0004386/0.5789, allocations: 165.7 kB / 1.224 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005227/0.5795, allocations: 180.3 kB / 1.224 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5795, allocations: 0 / 1.224 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.5797, allocations: 64.47 kB / 1.224 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009654/0.5806, allocations: 139.6 kB / 1.225 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008671/0.5815, allocations: 0.5399 MB / 1.225 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.5819, allocations: 0.7599 MB / 1.226 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.32e-05/0.582, allocations: 19.44 kB / 1.226 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.582, allocations: 0 / 1.226 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of Templates: time 0.007991/0.59, allocations: 3.711 MB / 1.23 GB, free: 5.562 MB / 0.9825 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches