Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0009091/0.0009089, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001033/0.001033, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 223.2 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.599/2.599, allocations: 390.9 MB / 0.666 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004714/0.0004714, allocations: 20.2 kB / 0.8153 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.926/0.9265, allocations: 142.4 MB / 0.9544 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.17/1.097, allocations: 146.7 MB / 1.098 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002794/1.099, allocations: 1.599 MB / 1.099 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002388/1.1, allocations: 7.938 kB / 1.099 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004594/1.1, allocations: 107.3 kB / 1.099 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001046/1.101, allocations: 386.2 kB / 1.1 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/1.102, allocations: 352.6 kB / 1.1 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000773/1.103, allocations: 0.6512 MB / 1.101 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/1.103, allocations: 140.4 kB / 1.101 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004985/1.104, allocations: 266.8 kB / 1.101 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/1.104, allocations: 151.3 kB / 1.101 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/1.104, allocations: 8 kB / 1.101 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008731/1.105, allocations: 0.5223 MB / 1.102 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.226e-05/1.105, allocations: 79.72 kB / 1.102 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.712e-05/1.105, allocations: 69.58 kB / 1.102 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003905/1.105, allocations: 327.2 kB / 1.102 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/1.105, allocations: 0 / 1.102 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/1.105, allocations: 0 / 1.102 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.28e-06/1.106, allocations: 0 / 1.102 GB, free: 7.824 MB / 0.8575 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.0006922/1.106, allocations: 0.5412 MB / 1.103 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/1.106, allocations: 16.03 kB / 1.103 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003022/1.107, allocations: 59.58 kB / 1.103 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/1.107, allocations: 277.5 kB / 1.103 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/1.107, allocations: 12 kB / 1.103 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/1.107, allocations: 19.98 kB / 1.103 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000357/1.107, allocations: 200.6 kB / 1.103 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.107, allocations: 0 / 1.103 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/1.107, allocations: 8 kB / 1.103 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/1.107, allocations: 4 kB / 1.103 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002803/1.108, allocations: 131.8 kB / 1.103 GB, free: 6.465 MB / 0.8575 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.0009194/1.109, allocations: 0.7887 MB / 1.104 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/1.109, allocations: 90.47 kB / 1.104 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/1.109, allocations: 84.86 kB / 1.104 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002827/1.109, allocations: 190.2 kB / 1.105 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/1.109, allocations: 34.55 kB / 1.105 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/1.109, allocations: 0 / 1.105 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0006023/1.11, allocations: 237.2 kB / 1.105 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/1.11, allocations: 51.41 kB / 1.105 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/1.11, allocations: 275 kB / 1.105 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/1.11, allocations: 25.7 kB / 1.105 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.102e-05/1.11, allocations: 144 kB / 1.105 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/1.11, allocations: 35.45 kB / 1.105 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.649e-06/1.11, allocations: 4 kB / 1.105 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001084/1.111, allocations: 338.8 kB / 1.106 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/1.111, allocations: 39.97 kB / 1.106 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/1.111, allocations: 105 kB / 1.106 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/1.111, allocations: 59.94 kB / 1.106 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.111, allocations: 0 / 1.106 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003126/1.111, allocations: 161.3 kB / 1.106 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.468e-05/1.111, allocations: 111.6 kB / 1.106 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/1.111, allocations: 7.922 kB / 1.106 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/1.111, allocations: 4 kB / 1.106 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/1.111, allocations: 31.94 kB / 1.106 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/1.112, allocations: 3.984 kB / 1.106 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/1.112, allocations: 19.98 kB / 1.106 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/1.112, allocations: 4 kB / 1.106 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.314e-06/1.112, allocations: 5.875 kB / 1.106 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002585/1.112, allocations: 123.8 kB / 1.106 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.112, allocations: 8.062 kB / 1.106 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-06/1.112, allocations: 0 / 1.106 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.978e-05/1.112, allocations: 23.98 kB / 1.106 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-06/1.112, allocations: 0 / 1.106 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/1.112, allocations: 27.83 kB / 1.106 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/1.112, allocations: 8 kB / 1.106 GB, free: 3.258 MB / 0.8575 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001552/1.112, allocations: 217.1 kB / 1.107 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/1.113, allocations: 23.72 kB / 1.107 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003635/1.113, allocations: 171.8 kB / 1.107 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/1.113, allocations: 4 kB / 1.107 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.113, allocations: 96 / 1.107 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.113, allocations: 7.922 kB / 1.107 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008416/1.114, allocations: 0.5979 MB / 1.107 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.114, allocations: 4 kB / 1.107 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/1.114, allocations: 23.98 kB / 1.107 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/1.114, allocations: 8.266 kB / 1.107 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/1.114, allocations: 3.984 kB / 1.107 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.907e-06/1.114, allocations: 7.938 kB / 1.107 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.114, allocations: 3.953 kB / 1.107 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004074/1.114, allocations: 305.1 kB / 1.108 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.86e-05/1.114, allocations: 116.8 kB / 1.108 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/1.115, allocations: 7.984 kB / 1.108 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/1.115, allocations: 23.89 kB / 1.108 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/1.115, allocations: 11.94 kB / 1.108 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/1.115, allocations: 8 kB / 1.108 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001906/1.115, allocations: 193.9 kB / 1.108 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.115, allocations: 4 kB / 1.108 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004476/1.115, allocations: 91.94 kB / 1.108 GB, free: 1.293 MB / 0.8575 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004005/1.116, allocations: 166.6 kB / 1.108 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004406/1.116, allocations: 179.8 kB / 1.108 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.116, allocations: 0 / 1.108 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/1.117, allocations: 68.39 kB / 1.108 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007619/1.117, allocations: 134.5 kB / 1.109 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007405/1.118, allocations: 0.4933 MB / 1.109 GB, free: 220 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/1.118, allocations: 0.7599 MB / 1.11 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002048/1.119, allocations: 66.23 kB / 1.11 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.897e-05/1.119, allocations: 19.44 kB / 1.11 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of SimCode: time 4.51e-07/1.119, allocations: 0 / 1.11 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of Templates: time 0.008176/1.127, allocations: 4.125 MB / 1.114 GB, free: 11.3 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches