Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001592/0.001592, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002103/0.002103, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.469/1.469, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.806/2.806, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 67.89 kB / 0.8685 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8702/0.8722, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1868/1.059, allocations: 159.3 MB / 1.172 GB, free: 2.922 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003155/1.062, allocations: 1.732 MB / 1.174 GB, free: 1.188 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004099/1.063, allocations: 15.88 kB / 1.174 GB, free: 1.172 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000592/1.063, allocations: 135.2 kB / 1.174 GB, free: 1.039 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001352/1.065, allocations: 494 kB / 1.174 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/1.066, allocations: 374.2 kB / 1.175 GB, free: 200 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0009643/1.067, allocations: 0.7682 MB / 1.176 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002542/1.067, allocations: 140.5 kB / 1.176 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005648/1.068, allocations: 298.7 kB / 1.176 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/1.068, allocations: 159.3 kB / 1.176 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/1.068, allocations: 8 kB / 1.176 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/1.069, allocations: 0.7716 MB / 1.177 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/1.069, allocations: 83.72 kB / 1.177 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001408/1.069, allocations: 115.4 kB / 1.177 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009842/1.07, allocations: 0.5101 MB / 1.178 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.07, allocations: 4 kB / 1.178 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.91e-07/1.07, allocations: 0 / 1.178 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.64e-06/1.07, allocations: 0 / 1.178 GB, free: 13.34 MB / 0.9356 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.0009646/1.071, allocations: 0.5855 MB / 1.178 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/1.071, allocations: 8.031 kB / 1.178 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003704/1.072, allocations: 55.67 kB / 1.178 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/1.072, allocations: 293.3 kB / 1.178 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/1.072, allocations: 12 kB / 1.178 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/1.072, allocations: 12 kB / 1.178 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004105/1.073, allocations: 196.1 kB / 1.179 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/1.073, allocations: 0 / 1.179 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/1.073, allocations: 11.94 kB / 1.179 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/1.073, allocations: 3.984 kB / 1.179 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003818/1.073, allocations: 131.9 kB / 1.179 GB, free: 11.95 MB / 0.9356 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.001074/1.074, allocations: 0.7768 MB / 1.18 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/1.074, allocations: 82.53 kB / 1.18 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/1.075, allocations: 84.78 kB / 1.18 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003757/1.075, allocations: 190.2 kB / 1.18 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/1.075, allocations: 42.48 kB / 1.18 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/1.075, allocations: 0 / 1.18 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0006863/1.076, allocations: 217.3 kB / 1.18 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/1.076, allocations: 55.41 kB / 1.18 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/1.076, allocations: 267 kB / 1.18 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/1.076, allocations: 29.7 kB / 1.181 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.512e-05/1.076, allocations: 147.9 kB / 1.181 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.227e-05/1.076, allocations: 31.55 kB / 1.181 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/1.076, allocations: 29.62 kB / 1.181 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001867/1.077, allocations: 338.8 kB / 1.181 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/1.077, allocations: 48.81 kB / 1.181 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/1.077, allocations: 89.11 kB / 1.181 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/1.077, allocations: 127.3 kB / 1.181 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.077, allocations: 0 / 1.181 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003347/1.078, allocations: 153.3 kB / 1.181 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/1.078, allocations: 8 kB / 1.181 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.078, allocations: 0 / 1.181 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/1.078, allocations: 3.938 kB / 1.181 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/1.078, allocations: 27.95 kB / 1.181 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/1.078, allocations: 7.984 kB / 1.181 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/1.078, allocations: 23.83 kB / 1.181 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/1.078, allocations: 8 kB / 1.182 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001996/1.078, allocations: 144.1 kB / 1.182 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001604/1.078, allocations: 93.61 kB / 1.182 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000234/1.079, allocations: 119.5 kB / 1.182 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/1.079, allocations: 0 / 1.182 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003809/1.079, allocations: 165.2 kB / 1.182 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.176e-06/1.079, allocations: 4 kB / 1.182 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-06/1.079, allocations: 128 / 1.182 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-06/1.079, allocations: 8 kB / 1.182 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/1.079, allocations: 23.92 kB / 1.182 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/1.079, allocations: 3.938 kB / 1.182 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/1.079, allocations: 19.98 kB / 1.182 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/1.079, allocations: 7.984 kB / 1.182 GB, free: 8.363 MB / 0.9356 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.000108/1.08, allocations: 188.3 kB / 1.182 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.904e-05/1.08, allocations: 24 kB / 1.182 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004006/1.08, allocations: 163.2 kB / 1.182 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/1.08, allocations: 3.984 kB / 1.182 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.08, allocations: 0 / 1.182 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/1.08, allocations: 0 / 1.182 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008941/1.081, allocations: 0.5858 MB / 1.183 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.081, allocations: 8.219 kB / 1.183 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/1.081, allocations: 23.92 kB / 1.183 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-06/1.081, allocations: 7.984 kB / 1.183 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/1.081, allocations: 4 kB / 1.183 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.081, allocations: 4 kB / 1.183 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.081, allocations: 4 kB / 1.183 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/1.081, allocations: 289.1 kB / 1.183 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/1.082, allocations: 112.8 kB / 1.183 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/1.082, allocations: 8 kB / 1.183 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/1.082, allocations: 19.89 kB / 1.183 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/1.082, allocations: 19.92 kB / 1.183 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/1.082, allocations: 4 kB / 1.183 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001876/1.082, allocations: 197.9 kB / 1.184 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/1.082, allocations: 0 / 1.184 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000476/1.083, allocations: 91.83 kB / 1.184 GB, free: 6.48 MB / 0.9356 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.0004028/1.083, allocations: 170.2 kB / 1.184 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004495/1.083, allocations: 160.3 kB / 1.184 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.083, allocations: 0 / 1.184 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/1.084, allocations: 64.27 kB / 1.184 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008191/1.084, allocations: 128.9 kB / 1.184 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007593/1.085, allocations: 498.9 kB / 1.185 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/1.086, allocations: 0.756 MB / 1.185 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002205/1.086, allocations: 66.23 kB / 1.186 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/1.086, allocations: 23.44 kB / 1.186 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/1.086, allocations: 0 / 1.186 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of Templates: time 0.008174/1.094, allocations: 4.285 MB / 1.19 GB, free: 352 kB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches