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.001023/0.001023, allocations: 91.86 kB / 15.36 MB, free: 0.7422 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.009082/0.009082, allocations: 179.3 kB / 16.26 MB, free: 6.605 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.519/1.519, 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 9.1.3-maint.9.1.x/package.mo): time 2.743/2.743, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004181/0.0004182, allocations: 11.98 kB / 0.8159 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8751/0.8755, allocations: 142.4 MB / 0.955 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1982/1.074, allocations: 157.2 MB / 1.109 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003486/1.077, allocations: 1.696 MB / 1.11 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004834/1.078, allocations: 7.938 kB / 1.11 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006839/1.079, allocations: 135.2 kB / 1.11 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00167/1.08, allocations: 497.4 kB / 1.111 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00131/1.082, allocations: 370.8 kB / 1.111 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001152/1.083, allocations: 0.7682 MB / 1.112 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003996/1.083, allocations: 152.4 kB / 1.112 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008742/1.084, allocations: 302.7 kB / 1.112 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003413/1.084, allocations: 151.3 kB / 1.112 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.836e-05/1.084, allocations: 8 kB / 1.113 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/1.086, allocations: 0.7716 MB / 1.113 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001522/1.086, allocations: 75.72 kB / 1.113 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000206/1.086, allocations: 129.1 kB / 1.113 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0009525/1.087, allocations: 0.5179 MB / 1.114 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.087, allocations: 0 / 1.114 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.505e-06/1.087, allocations: 0 / 1.114 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.107e-05/1.087, allocations: 0 / 1.114 GB, free: 12.01 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.0009709/1.088, allocations: 0.5373 MB / 1.114 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/1.088, allocations: 12.02 kB / 1.114 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000412/1.089, allocations: 55.53 kB / 1.115 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004416/1.089, allocations: 297.3 kB / 1.115 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/1.089, allocations: 16 kB / 1.115 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/1.089, allocations: 12 kB / 1.115 GB, free: 11 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/1.09, allocations: 192.7 kB / 1.115 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/1.09, allocations: 0 / 1.115 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/1.09, allocations: 12 kB / 1.115 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/1.09, allocations: 4 kB / 1.115 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003381/1.09, allocations: 139.8 kB / 1.115 GB, free: 10.64 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.001188/1.091, allocations: 0.7847 MB / 1.116 GB, free: 9.789 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/1.092, allocations: 90.52 kB / 1.116 GB, free: 9.691 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/1.092, allocations: 80.88 kB / 1.116 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003342/1.092, allocations: 194.2 kB / 1.116 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/1.092, allocations: 34.56 kB / 1.116 GB, free: 9.34 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.754e-06/1.092, allocations: 0 / 1.116 GB, free: 9.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0007314/1.093, allocations: 233.5 kB / 1.117 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/1.093, allocations: 55.41 kB / 1.117 GB, free: 9.039 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/1.093, allocations: 271 kB / 1.117 GB, free: 8.77 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/1.093, allocations: 33.64 kB / 1.117 GB, free: 8.73 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/1.093, allocations: 151.9 kB / 1.117 GB, free: 8.578 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/1.093, allocations: 31.55 kB / 1.117 GB, free: 8.547 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/1.093, allocations: 17.72 kB / 1.117 GB, free: 8.523 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001605/1.094, allocations: 330.8 kB / 1.117 GB, free: 8.191 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/1.094, allocations: 43.97 kB / 1.117 GB, free: 8.148 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/1.094, allocations: 105.1 kB / 1.118 GB, free: 8.027 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/1.094, allocations: 131.3 kB / 1.118 GB, free: 7.887 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.094, allocations: 0 / 1.118 GB, free: 7.887 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003817/1.095, allocations: 169.3 kB / 1.118 GB, free: 7.715 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.613e-05/1.095, allocations: 115.5 kB / 1.118 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.095, allocations: 4.062 kB / 1.118 GB, free: 7.582 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/1.095, allocations: 7.938 kB / 1.118 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/1.095, allocations: 23.98 kB / 1.118 GB, free: 7.551 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/1.095, allocations: 7.984 kB / 1.118 GB, free: 7.543 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/1.095, allocations: 23.92 kB / 1.118 GB, free: 7.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/1.095, allocations: 7.938 kB / 1.118 GB, free: 7.512 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/1.095, allocations: 4 kB / 1.118 GB, free: 7.508 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003055/1.096, allocations: 123.8 kB / 1.118 GB, free: 7.387 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-06/1.096, allocations: 0 / 1.118 GB, free: 7.387 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-06/1.096, allocations: 0 / 1.118 GB, free: 7.387 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/1.096, allocations: 23.98 kB / 1.118 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/1.096, allocations: 3.984 kB / 1.118 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/1.096, allocations: 27.83 kB / 1.118 GB, free: 7.332 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/1.096, allocations: 12 kB / 1.118 GB, free: 7.32 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.0001503/1.096, allocations: 209.1 kB / 1.118 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.815e-05/1.096, allocations: 23.72 kB / 1.118 GB, free: 7.082 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003888/1.097, allocations: 175.6 kB / 1.119 GB, free: 6.902 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/1.097, allocations: 0 / 1.119 GB, free: 6.902 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/1.097, allocations: 3.938 kB / 1.119 GB, free: 6.898 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/1.097, allocations: 4.266 kB / 1.119 GB, free: 6.895 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009639/1.098, allocations: 0.6053 MB / 1.119 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/1.098, allocations: 0 / 1.119 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/1.098, allocations: 36.14 kB / 1.119 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/1.098, allocations: 4 kB / 1.119 GB, free: 6.172 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/1.098, allocations: 4 kB / 1.119 GB, free: 6.168 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/1.098, allocations: 3.938 kB / 1.119 GB, free: 6.164 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/1.098, allocations: 4 kB / 1.119 GB, free: 6.16 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/1.098, allocations: 309.1 kB / 1.12 GB, free: 5.82 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/1.098, allocations: 112.9 kB / 1.12 GB, free: 5.691 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.372e-05/1.098, allocations: 4 kB / 1.12 GB, free: 5.688 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/1.099, allocations: 23.88 kB / 1.12 GB, free: 5.664 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/1.099, allocations: 11.94 kB / 1.12 GB, free: 5.652 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/1.099, allocations: 4 kB / 1.12 GB, free: 5.648 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002025/1.099, allocations: 205.9 kB / 1.12 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.099, allocations: 0 / 1.12 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004768/1.099, allocations: 95.84 kB / 1.12 GB, free: 5.352 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.0004334/1.1, allocations: 169.9 kB / 1.12 GB, free: 5.188 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005012/1.1, allocations: 184.2 kB / 1.12 GB, free: 5.008 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/1.1, allocations: 0 / 1.12 GB, free: 5.008 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/1.1, allocations: 68.48 kB / 1.12 GB, free: 4.941 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009134/1.101, allocations: 136.9 kB / 1.121 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007683/1.102, allocations: 0.4993 MB / 1.121 GB, free: 4.258 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/1.102, allocations: 0.756 MB / 1.122 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002401/1.103, allocations: 70.23 kB / 1.122 GB, free: 3.41 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/1.103, allocations: 19.44 kB / 1.122 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of SimCode: time 3.31e-07/1.103, allocations: 0 / 1.122 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of Templates: time 0.009278/1.112, allocations: 4.258 MB / 1.126 GB, free: 15.2 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