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.001291/0.001296, allocations: 110.8 kB / 16.27 MB, free: 6.414 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.001263/0.001263, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.437/1.437, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.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.579/2.579, allocations: 437.1 MB / 0.711 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001927, allocations: 61.06 kB / 0.8699 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3672, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.8362/1.203, allocations: 161.5 MB / 1.176 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003523/1.207, allocations: 1.711 MB / 1.177 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004468/1.207, allocations: 14.97 kB / 1.177 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006627/1.208, allocations: 157.2 kB / 1.178 GB, free: 11 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001595/1.21, allocations: 0.5051 MB / 1.178 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001361/1.211, allocations: 426 kB / 1.178 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0008871/1.212, allocations: 0.5653 MB / 1.179 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003625/1.212, allocations: 185.9 kB / 1.179 GB, free: 9.949 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007505/1.213, allocations: 319.8 kB / 1.179 GB, free: 9.758 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/1.213, allocations: 146.3 kB / 1.18 GB, free: 9.676 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/1.214, allocations: 12.97 kB / 1.18 GB, free: 9.676 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/1.215, allocations: 0.6998 MB / 1.18 GB, free: 9.273 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001244/1.215, allocations: 73.7 kB / 1.18 GB, free: 9.227 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001562/1.215, allocations: 114.3 kB / 1.18 GB, free: 9.156 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0009065/1.216, allocations: 0.4913 MB / 1.181 GB, free: 8.855 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/1.216, allocations: 0 / 1.181 GB, free: 8.855 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.202e-06/1.216, allocations: 1.156 kB / 1.181 GB, free: 8.855 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.442e-06/1.216, allocations: 0 / 1.181 GB, free: 8.855 MB / 0.8887 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.0009565/1.217, allocations: 0.5815 MB / 1.182 GB, free: 8.316 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/1.217, allocations: 14.64 kB / 1.182 GB, free: 8.312 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003693/1.218, allocations: 53.84 kB / 1.182 GB, free: 8.289 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/1.218, allocations: 290.5 kB / 1.182 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/1.218, allocations: 10.66 kB / 1.182 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/1.218, allocations: 14.22 kB / 1.182 GB, free: 8 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004196/1.218, allocations: 195.3 kB / 1.182 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/1.218, allocations: 0 / 1.182 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/1.219, allocations: 10.47 kB / 1.182 GB, free: 7.855 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/1.219, allocations: 2.656 kB / 1.182 GB, free: 7.855 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003383/1.219, allocations: 125.8 kB / 1.182 GB, free: 7.801 MB / 0.8887 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.00122/1.22, allocations: 0.7862 MB / 1.183 GB, free: 7.082 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/1.22, allocations: 90.41 kB / 1.183 GB, free: 7.023 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/1.221, allocations: 72.78 kB / 1.183 GB, free: 6.988 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003574/1.221, allocations: 188 kB / 1.183 GB, free: 6.789 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/1.221, allocations: 35.92 kB / 1.183 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/1.221, allocations: 0 / 1.183 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of matching and sorting (n=10): time 0.0007065/1.222, allocations: 231.2 kB / 1.184 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/1.222, allocations: 52.78 kB / 1.184 GB, free: 6.555 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/1.222, allocations: 267.1 kB / 1.184 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/1.222, allocations: 27.08 kB / 1.184 GB, free: 6.348 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/1.222, allocations: 146.9 kB / 1.184 GB, free: 6.211 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/1.222, allocations: 37.06 kB / 1.184 GB, free: 6.18 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-05/1.222, allocations: 28.7 kB / 1.184 GB, free: 6.156 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.222, allocations: 332.3 kB / 1.184 GB, free: 5.828 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/1.223, allocations: 50.77 kB / 1.184 GB, free: 5.797 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/1.223, allocations: 90.11 kB / 1.185 GB, free: 5.723 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/1.223, allocations: 124 kB / 1.185 GB, free: 5.641 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.223, allocations: 0 / 1.185 GB, free: 5.641 MB / 0.8887 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003569/1.223, allocations: 156.8 kB / 1.185 GB, free: 5.547 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/1.223, allocations: 9.781 kB / 1.185 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.223, allocations: 1.75 kB / 1.185 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.347e-05/1.224, allocations: 5.125 kB / 1.185 GB, free: 5.539 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/1.224, allocations: 28.45 kB / 1.185 GB, free: 5.527 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/1.224, allocations: 1.219 kB / 1.185 GB, free: 5.527 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/1.224, allocations: 16.36 kB / 1.185 GB, free: 5.52 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/1.224, allocations: 10.19 kB / 1.185 GB, free: 5.516 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002079/1.224, allocations: 147.3 kB / 1.185 GB, free: 5.402 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001699/1.224, allocations: 94.77 kB / 1.185 GB, free: 5.324 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002719/1.225, allocations: 121.2 kB / 1.185 GB, free: 5.242 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/1.225, allocations: 5.312 kB / 1.185 GB, free: 5.238 MB / 0.8887 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003355/1.225, allocations: 151.8 kB / 1.185 GB, free: 5.148 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.817e-06/1.225, allocations: 8.812 kB / 1.185 GB, free: 5.148 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/1.225, allocations: 0 / 1.185 GB, free: 5.148 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-06/1.225, allocations: 6.531 kB / 1.185 GB, free: 5.145 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/1.225, allocations: 20.61 kB / 1.185 GB, free: 5.141 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/1.225, allocations: 9.672 kB / 1.185 GB, free: 5.133 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/1.225, allocations: 24.02 kB / 1.185 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/1.225, allocations: 8.656 kB / 1.185 GB, free: 5.117 MB / 0.8887 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.0001256/1.225, allocations: 179.9 kB / 1.186 GB, free: 4.938 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.225e-05/1.226, allocations: 23.81 kB / 1.186 GB, free: 4.926 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003884/1.226, allocations: 163.6 kB / 1.186 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/1.226, allocations: 5.312 kB / 1.186 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/1.226, allocations: 1.094 kB / 1.186 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/1.226, allocations: 4 kB / 1.186 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000995/1.227, allocations: 0.594 MB / 1.186 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/1.227, allocations: 1.406 kB / 1.186 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/1.227, allocations: 21.2 kB / 1.186 GB, free: 4.277 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/1.227, allocations: 2.375 kB / 1.186 GB, free: 4.277 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/1.227, allocations: 3.531 kB / 1.186 GB, free: 4.277 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/1.227, allocations: 2.562 kB / 1.186 GB, free: 4.277 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/1.227, allocations: 6.438 kB / 1.186 GB, free: 4.273 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004108/1.228, allocations: 302.9 kB / 1.187 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/1.228, allocations: 117.1 kB / 1.187 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/1.228, allocations: 3.656 kB / 1.187 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/1.228, allocations: 15.61 kB / 1.187 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/1.228, allocations: 12.86 kB / 1.187 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/1.228, allocations: 3.906 kB / 1.187 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001982/1.228, allocations: 202.7 kB / 1.187 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.224e-06/1.228, allocations: 0 / 1.187 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004872/1.229, allocations: 105 kB / 1.187 GB, free: 3.703 MB / 0.8887 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.0004582/1.229, allocations: 163.7 kB / 1.187 GB, free: 3.582 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004958/1.23, allocations: 167.8 kB / 1.187 GB, free: 3.508 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.23, allocations: 0 / 1.187 GB, free: 3.508 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/1.23, allocations: 67 kB / 1.188 GB, free: 3.477 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007624/1.231, allocations: 119 kB / 1.188 GB, free: 3.422 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008652/1.231, allocations: 471.5 kB / 1.188 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/1.232, allocations: 0.7585 MB / 1.189 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/1.232, allocations: 20.94 kB / 1.189 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of SimCode: time 2.4e-07/1.232, allocations: 0 / 1.189 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of Templates: time 0.006595/1.239, allocations: 3.705 MB / 1.192 GB, free: 420 kB / 0.8887 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches