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.001285/0.001285, allocations: 108 kB / 15.6 MB, free: 132 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.002271/0.002271, allocations: 199.2 kB / 16.54 MB, free: 6.672 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.522/1.522, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.575/2.575, allocations: 390.2 MB / 0.6646 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001426, allocations: 71.91 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9434/0.9448, allocations: 140.4 MB / 0.9496 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2293/1.174, allocations: 161.5 MB / 1.107 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.003196/1.177, allocations: 1.713 MB / 1.109 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003477/1.178, allocations: 11.88 kB / 1.109 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006182/1.178, allocations: 166.9 kB / 1.109 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001382/1.18, allocations: 0.5133 MB / 1.11 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/1.181, allocations: 403.5 kB / 1.11 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.000761/1.182, allocations: 0.5694 MB / 1.111 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003242/1.182, allocations: 192.2 kB / 1.111 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006104/1.183, allocations: 314.8 kB / 1.111 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/1.183, allocations: 155.2 kB / 1.111 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.561e-05/1.183, allocations: 12 kB / 1.111 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/1.184, allocations: 0.6937 MB / 1.112 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/1.184, allocations: 71.8 kB / 1.112 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001456/1.184, allocations: 131.3 kB / 1.112 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0007288/1.185, allocations: 486.7 kB / 1.113 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/1.185, allocations: 0 / 1.113 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.673e-06/1.185, allocations: 7.875 kB / 1.113 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.775e-06/1.185, allocations: 0 / 1.113 GB, free: 10.36 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.0008547/1.186, allocations: 0.5801 MB / 1.113 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/1.186, allocations: 8.031 kB / 1.113 GB, free: 9.727 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003465/1.187, allocations: 59.56 kB / 1.113 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/1.187, allocations: 293.3 kB / 1.113 GB, free: 9.34 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/1.187, allocations: 11.98 kB / 1.113 GB, free: 9.328 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/1.187, allocations: 16 kB / 1.114 GB, free: 9.312 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003923/1.187, allocations: 192.9 kB / 1.114 GB, free: 9.109 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/1.187, allocations: 0 / 1.114 GB, free: 9.109 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/1.187, allocations: 4 kB / 1.114 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/1.187, allocations: 4 kB / 1.114 GB, free: 9.102 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003245/1.188, allocations: 143.8 kB / 1.114 GB, free: 8.961 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.001052/1.189, allocations: 0.777 MB / 1.115 GB, free: 8.113 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/1.189, allocations: 82.47 kB / 1.115 GB, free: 8.023 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/1.189, allocations: 88.8 kB / 1.115 GB, free: 7.934 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003803/1.19, allocations: 178.2 kB / 1.115 GB, free: 7.723 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/1.19, allocations: 38.56 kB / 1.115 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/1.19, allocations: 0 / 1.115 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0007079/1.19, allocations: 221.2 kB / 1.115 GB, free: 7.453 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/1.19, allocations: 55.41 kB / 1.115 GB, free: 7.387 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/1.191, allocations: 267 kB / 1.115 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/1.191, allocations: 29.7 kB / 1.116 GB, free: 7.086 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/1.191, allocations: 147.9 kB / 1.116 GB, free: 6.938 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/1.191, allocations: 31.55 kB / 1.116 GB, free: 6.906 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.92e-05/1.191, allocations: 29.72 kB / 1.116 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001433/1.191, allocations: 334.8 kB / 1.116 GB, free: 6.535 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/1.191, allocations: 48.77 kB / 1.116 GB, free: 6.484 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/1.191, allocations: 93.47 kB / 1.116 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/1.192, allocations: 123.5 kB / 1.116 GB, free: 6.242 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.192, allocations: 0 / 1.116 GB, free: 6.242 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003519/1.192, allocations: 161.2 kB / 1.116 GB, free: 6.078 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/1.192, allocations: 9.562 kB / 1.116 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/1.192, allocations: 0 / 1.116 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/1.192, allocations: 7.969 kB / 1.116 GB, free: 6.062 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/1.192, allocations: 23.92 kB / 1.116 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/1.192, allocations: 4 kB / 1.116 GB, free: 6.035 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/1.193, allocations: 23.83 kB / 1.117 GB, free: 6.012 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/1.193, allocations: 7.984 kB / 1.117 GB, free: 6.004 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001999/1.193, allocations: 148.1 kB / 1.117 GB, free: 5.855 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001723/1.193, allocations: 89.11 kB / 1.117 GB, free: 5.75 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002455/1.193, allocations: 119.3 kB / 1.117 GB, free: 5.621 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/1.193, allocations: 0 / 1.117 GB, free: 5.621 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003337/1.194, allocations: 161.4 kB / 1.117 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/1.194, allocations: 11.98 kB / 1.117 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-06/1.194, allocations: 0 / 1.117 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-06/1.194, allocations: 0 / 1.117 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/1.194, allocations: 27.92 kB / 1.117 GB, free: 5.418 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-06/1.194, allocations: 0 / 1.117 GB, free: 5.418 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/1.194, allocations: 15.98 kB / 1.117 GB, free: 5.402 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/1.194, allocations: 4.125 kB / 1.117 GB, free: 5.398 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.0001241/1.194, allocations: 196.2 kB / 1.117 GB, free: 5.199 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/1.194, allocations: 27.72 kB / 1.117 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004006/1.194, allocations: 159.3 kB / 1.117 GB, free: 5.008 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.195, allocations: 0 / 1.117 GB, free: 5.008 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.195, allocations: 4 kB / 1.117 GB, free: 5.004 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/1.195, allocations: 7.922 kB / 1.117 GB, free: 4.996 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009036/1.195, allocations: 0.5821 MB / 1.118 GB, free: 4.336 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.195, allocations: 0 / 1.118 GB, free: 4.336 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/1.196, allocations: 28.2 kB / 1.118 GB, free: 4.309 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/1.196, allocations: 4 kB / 1.118 GB, free: 4.305 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/1.196, allocations: 4.281 kB / 1.118 GB, free: 4.301 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/1.196, allocations: 3.938 kB / 1.118 GB, free: 4.297 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.196, allocations: 4 kB / 1.118 GB, free: 4.293 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/1.196, allocations: 301 kB / 1.118 GB, free: 3.961 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.906e-05/1.196, allocations: 116.8 kB / 1.118 GB, free: 3.828 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/1.196, allocations: 4 kB / 1.118 GB, free: 3.824 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/1.196, allocations: 15.97 kB / 1.118 GB, free: 3.809 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/1.196, allocations: 19.88 kB / 1.118 GB, free: 3.789 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/1.196, allocations: 4 kB / 1.118 GB, free: 3.785 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001983/1.197, allocations: 197.9 kB / 1.119 GB, free: 3.59 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.197, allocations: 0 / 1.119 GB, free: 3.59 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004877/1.197, allocations: 91.84 kB / 1.119 GB, free: 3.5 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.0004192/1.198, allocations: 166.1 kB / 1.119 GB, free: 3.336 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005029/1.198, allocations: 171.7 kB / 1.119 GB, free: 3.168 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.198, allocations: 0 / 1.119 GB, free: 3.168 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/1.198, allocations: 64.45 kB / 1.119 GB, free: 3.105 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007622/1.199, allocations: 113.7 kB / 1.119 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007761/1.2, allocations: 437.1 kB / 1.12 GB, free: 2.52 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/1.2, allocations: 0.7519 MB / 1.12 GB, free: 1.742 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002266/1.2, allocations: 62.55 kB / 1.12 GB, free: 1.684 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.001e-05/1.201, allocations: 31.31 kB / 1.12 GB, free: 1.652 MB / 0.8731 GB Notification: Performance of SimCode: time 1.613e-06/1.201, allocations: 4 kB / 1.12 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of Templates: time 0.00895/1.209, allocations: 4.391 MB / 1.125 GB, free: 13.33 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