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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001202/0.001202, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001569/0.001569, allocations: 193.5 kB / 16.25 MB, free: 6.621 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.545/1.545, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.449/2.449, allocations: 390.2 MB / 0.6643 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8418/0.8432, allocations: 140.3 MB / 0.9491 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1966/1.04, allocations: 159.3 MB / 1.105 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003355/1.043, allocations: 1.699 MB / 1.106 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004973/1.044, allocations: 11.94 kB / 1.106 GB, free: 496 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006845/1.045, allocations: 139.2 kB / 1.106 GB, free: 356 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001565/1.046, allocations: 490.1 kB / 1.107 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/1.048, allocations: 383.7 kB / 1.107 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0008165/1.048, allocations: 0.5732 MB / 1.108 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003193/1.049, allocations: 176.2 kB / 1.108 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006386/1.049, allocations: 322.8 kB / 1.108 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/1.05, allocations: 163.2 kB / 1.108 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/1.05, allocations: 12 kB / 1.108 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/1.051, allocations: 0.7092 MB / 1.109 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/1.051, allocations: 79.78 kB / 1.109 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001277/1.051, allocations: 119.3 kB / 1.109 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0007417/1.052, allocations: 0.5219 MB / 1.11 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/1.052, allocations: 3.938 kB / 1.11 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.243e-06/1.052, allocations: 0 / 1.11 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.038e-05/1.052, allocations: 0 / 1.11 GB, free: 12.82 MB / 0.8731 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.0008437/1.053, allocations: 0.5762 MB / 1.11 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/1.053, allocations: 8.031 kB / 1.11 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003761/1.053, allocations: 59.58 kB / 1.111 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/1.053, allocations: 285.3 kB / 1.111 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/1.053, allocations: 12 kB / 1.111 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/1.053, allocations: 16 kB / 1.111 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003847/1.054, allocations: 192.7 kB / 1.111 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/1.054, allocations: 3.938 kB / 1.111 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/1.054, allocations: 4 kB / 1.111 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/1.054, allocations: 4 kB / 1.111 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/1.054, allocations: 139.8 kB / 1.111 GB, free: 11.43 MB / 0.8731 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.001087/1.055, allocations: 0.7808 MB / 1.112 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/1.056, allocations: 86.47 kB / 1.112 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/1.056, allocations: 72.88 kB / 1.112 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003947/1.056, allocations: 194.1 kB / 1.112 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/1.056, allocations: 34.56 kB / 1.112 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/1.056, allocations: 0 / 1.112 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0006846/1.057, allocations: 229.1 kB / 1.112 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/1.057, allocations: 51.41 kB / 1.113 GB, free: 9.852 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/1.057, allocations: 267 kB / 1.113 GB, free: 9.586 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/1.057, allocations: 33.7 kB / 1.113 GB, free: 9.547 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/1.057, allocations: 147.9 kB / 1.113 GB, free: 9.398 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/1.057, allocations: 35.53 kB / 1.113 GB, free: 9.363 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.975e-05/1.058, allocations: 25.72 kB / 1.113 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.058, allocations: 334.8 kB / 1.113 GB, free: 8.996 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/1.058, allocations: 44.83 kB / 1.113 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/1.058, allocations: 97.05 kB / 1.113 GB, free: 8.836 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/1.058, allocations: 119.4 kB / 1.114 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.058, allocations: 0 / 1.114 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003281/1.059, allocations: 161.2 kB / 1.114 GB, free: 8.543 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/1.059, allocations: 4 kB / 1.114 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.059, allocations: 4 kB / 1.114 GB, free: 8.535 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/1.059, allocations: 3.938 kB / 1.114 GB, free: 8.531 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/1.059, allocations: 24.02 kB / 1.114 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/1.059, allocations: 4 kB / 1.114 GB, free: 8.504 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/1.059, allocations: 23.97 kB / 1.114 GB, free: 8.48 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/1.059, allocations: 7.984 kB / 1.114 GB, free: 8.473 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001956/1.059, allocations: 148.1 kB / 1.114 GB, free: 8.324 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001446/1.059, allocations: 97.11 kB / 1.114 GB, free: 8.211 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002284/1.06, allocations: 123.3 kB / 1.114 GB, free: 8.078 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.42e-07/1.06, allocations: 0 / 1.114 GB, free: 8.078 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002932/1.06, allocations: 154.1 kB / 1.114 GB, free: 7.922 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/1.06, allocations: 11.98 kB / 1.114 GB, free: 7.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-06/1.06, allocations: 0 / 1.114 GB, free: 7.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-06/1.06, allocations: 0 / 1.114 GB, free: 7.91 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/1.06, allocations: 31.86 kB / 1.114 GB, free: 7.879 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-06/1.06, allocations: 0 / 1.114 GB, free: 7.879 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/1.06, allocations: 11.98 kB / 1.114 GB, free: 7.867 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/1.06, allocations: 15.94 kB / 1.114 GB, free: 7.852 MB / 0.8731 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.0001147/1.06, allocations: 188.2 kB / 1.115 GB, free: 7.66 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/1.06, allocations: 23.72 kB / 1.115 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003764/1.061, allocations: 167.2 kB / 1.115 GB, free: 7.465 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/1.061, allocations: 0 / 1.115 GB, free: 7.465 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.061, allocations: 0 / 1.115 GB, free: 7.465 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/1.061, allocations: 3.984 kB / 1.115 GB, free: 7.461 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008937/1.062, allocations: 0.5859 MB / 1.115 GB, free: 6.797 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.062, allocations: 224 / 1.115 GB, free: 6.797 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/1.062, allocations: 31.92 kB / 1.115 GB, free: 6.766 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/1.062, allocations: 4 kB / 1.115 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/1.062, allocations: 4 kB / 1.115 GB, free: 6.758 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/1.062, allocations: 4 kB / 1.115 GB, free: 6.754 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.062, allocations: 0 / 1.115 GB, free: 6.754 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003768/1.062, allocations: 301.2 kB / 1.116 GB, free: 6.422 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.319e-05/1.062, allocations: 112.8 kB / 1.116 GB, free: 6.293 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.198e-05/1.062, allocations: 11.98 kB / 1.116 GB, free: 6.281 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/1.063, allocations: 15.98 kB / 1.116 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/1.063, allocations: 7.938 kB / 1.116 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/1.063, allocations: 15.98 kB / 1.116 GB, free: 6.242 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001801/1.063, allocations: 194 kB / 1.116 GB, free: 6.051 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.063, allocations: 0 / 1.116 GB, free: 6.051 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004789/1.063, allocations: 91.84 kB / 1.116 GB, free: 5.961 MB / 0.8731 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.0004339/1.064, allocations: 167.5 kB / 1.116 GB, free: 5.797 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004777/1.064, allocations: 163.8 kB / 1.116 GB, free: 5.637 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/1.064, allocations: 0 / 1.116 GB, free: 5.637 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/1.065, allocations: 68.39 kB / 1.116 GB, free: 5.57 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007374/1.065, allocations: 119.9 kB / 1.117 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008291/1.066, allocations: 0.4894 MB / 1.117 GB, free: 4.918 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/1.067, allocations: 0.7635 MB / 1.118 GB, free: 4.129 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002571/1.067, allocations: 65.88 kB / 1.118 GB, free: 4.066 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.959e-05/1.067, allocations: 27.42 kB / 1.118 GB, free: 4.039 MB / 0.8731 GB Notification: Performance of SimCode: time 6.31e-07/1.067, allocations: 3.938 kB / 1.118 GB, free: 4.035 MB / 0.8731 GB Notification: Performance of Templates: time 0.008915/1.076, allocations: 4.302 MB / 1.122 GB, free: 15.8 MB / 0.8887 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