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.01071/0.01071, allocations: 96.62 kB / 15.73 MB, free: 6.043 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.001997/0.001998, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.527/1.527, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.591/2.591, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 67.11 kB / 0.9508 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3404, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1856/0.5261, allocations: 161.5 MB / 1.246 GB, free: 15.35 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004226/0.5303, allocations: 1.709 MB / 1.247 GB, free: 13.64 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007576/0.5311, allocations: 7.938 kB / 1.247 GB, free: 13.63 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008641/0.5321, allocations: 170.9 kB / 1.247 GB, free: 13.46 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.534, allocations: 0.5329 MB / 1.248 GB, free: 12.93 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.5355, allocations: 427.6 kB / 1.248 GB, free: 12.52 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0009988/0.5365, allocations: 0.5654 MB / 1.249 GB, free: 11.95 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004241/0.5369, allocations: 180.5 kB / 1.249 GB, free: 11.77 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008665/0.5378, allocations: 330.7 kB / 1.249 GB, free: 11.45 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003183/0.5381, allocations: 147.4 kB / 1.25 GB, free: 11.3 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.414e-05/0.5382, allocations: 15.94 kB / 1.25 GB, free: 11.29 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.5396, allocations: 0.7016 MB / 1.25 GB, free: 10.58 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.5397, allocations: 75.72 kB / 1.25 GB, free: 10.51 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.5399, allocations: 119.3 kB / 1.25 GB, free: 10.39 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.5411, allocations: 0.5021 MB / 1.251 GB, free: 9.887 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.5411, allocations: 0 / 1.251 GB, free: 9.887 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5411, allocations: 4 kB / 1.251 GB, free: 9.883 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.5411, allocations: 0 / 1.251 GB, free: 9.883 MB / 1.014 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.001018/0.5421, allocations: 0.5871 MB / 1.252 GB, free: 9.246 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.5422, allocations: 12.03 kB / 1.252 GB, free: 9.234 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004122/0.5426, allocations: 55.78 kB / 1.252 GB, free: 9.18 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005351/0.5432, allocations: 305.5 kB / 1.252 GB, free: 8.844 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.5432, allocations: 15.94 kB / 1.252 GB, free: 8.828 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.5432, allocations: 12 kB / 1.252 GB, free: 8.816 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004084/0.5436, allocations: 200.1 kB / 1.252 GB, free: 8.605 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.5437, allocations: 4 kB / 1.252 GB, free: 8.602 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.5437, allocations: 8 kB / 1.252 GB, free: 8.594 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.5437, allocations: 4 kB / 1.252 GB, free: 8.59 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.544, allocations: 131.8 kB / 1.252 GB, free: 8.461 MB / 1.014 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.001356/0.5454, allocations: 0.7771 MB / 1.253 GB, free: 7.613 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.5457, allocations: 86.47 kB / 1.253 GB, free: 7.52 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.5459, allocations: 72.88 kB / 1.253 GB, free: 7.445 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003644/0.5463, allocations: 190.2 kB / 1.253 GB, free: 7.223 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.5463, allocations: 34.56 kB / 1.253 GB, free: 7.18 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 4.939e-06/0.5463, allocations: 0 / 1.253 GB, free: 7.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0008405/0.5472, allocations: 229.2 kB / 1.254 GB, free: 6.949 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.374e-05/0.5473, allocations: 59.41 kB / 1.254 GB, free: 6.879 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003462/0.5476, allocations: 267 kB / 1.254 GB, free: 6.613 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.5477, allocations: 25.7 kB / 1.254 GB, free: 6.582 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.5478, allocations: 140.1 kB / 1.254 GB, free: 6.441 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.166e-05/0.5479, allocations: 43.56 kB / 1.254 GB, free: 6.398 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.684e-05/0.548, allocations: 29.72 kB / 1.254 GB, free: 6.363 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.5482, allocations: 334.8 kB / 1.254 GB, free: 6.027 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.5483, allocations: 48.83 kB / 1.254 GB, free: 5.977 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.5485, allocations: 89.42 kB / 1.255 GB, free: 5.871 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.5488, allocations: 127.3 kB / 1.255 GB, free: 5.734 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.5488, allocations: 0 / 1.255 GB, free: 5.734 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004214/0.5493, allocations: 157.5 kB / 1.255 GB, free: 5.574 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.5493, allocations: 8 kB / 1.255 GB, free: 5.566 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.5493, allocations: 0 / 1.255 GB, free: 5.566 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/0.5494, allocations: 7.922 kB / 1.255 GB, free: 5.559 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.5495, allocations: 27.95 kB / 1.255 GB, free: 5.531 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.5495, allocations: 4 kB / 1.255 GB, free: 5.527 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.5497, allocations: 15.94 kB / 1.255 GB, free: 5.512 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.5498, allocations: 7.984 kB / 1.255 GB, free: 5.504 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002209/0.55, allocations: 148.1 kB / 1.255 GB, free: 5.355 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001648/0.5502, allocations: 93.11 kB / 1.255 GB, free: 5.246 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000242/0.5504, allocations: 119.3 kB / 1.255 GB, free: 5.117 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.454e-06/0.5505, allocations: 0 / 1.255 GB, free: 5.117 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003719/0.5508, allocations: 149.4 kB / 1.255 GB, free: 4.965 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.5509, allocations: 15.98 kB / 1.255 GB, free: 4.949 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/0.5509, allocations: 0 / 1.255 GB, free: 4.949 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.678e-06/0.5509, allocations: 0 / 1.255 GB, free: 4.949 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.551, allocations: 31.92 kB / 1.255 GB, free: 4.918 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.551, allocations: 3.984 kB / 1.255 GB, free: 4.914 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.5512, allocations: 15.92 kB / 1.255 GB, free: 4.898 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.5512, allocations: 4 kB / 1.255 GB, free: 4.895 MB / 1.014 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.0001666/0.5514, allocations: 192.2 kB / 1.256 GB, free: 4.699 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.733e-05/0.5515, allocations: 27.81 kB / 1.256 GB, free: 4.672 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004371/0.5519, allocations: 163.2 kB / 1.256 GB, free: 4.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.5519, allocations: 7.938 kB / 1.256 GB, free: 4.492 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.5519, allocations: 0 / 1.256 GB, free: 4.492 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.552, allocations: 480 / 1.256 GB, free: 4.492 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.553, allocations: 0.5939 MB / 1.256 GB, free: 3.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5531, allocations: 0 / 1.256 GB, free: 3.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.5532, allocations: 24.2 kB / 1.256 GB, free: 3.797 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.5532, allocations: 4.188 kB / 1.256 GB, free: 3.793 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.5532, allocations: 7.938 kB / 1.256 GB, free: 3.785 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.201e-05/0.5532, allocations: 7.938 kB / 1.256 GB, free: 3.777 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5532, allocations: 0 / 1.256 GB, free: 3.777 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004418/0.5537, allocations: 305.2 kB / 1.257 GB, free: 3.441 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.5538, allocations: 112.9 kB / 1.257 GB, free: 3.312 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.5539, allocations: 4 kB / 1.257 GB, free: 3.309 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.5541, allocations: 15.98 kB / 1.257 GB, free: 3.293 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.5541, allocations: 19.86 kB / 1.257 GB, free: 3.273 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.5542, allocations: 4 kB / 1.257 GB, free: 3.27 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002198/0.5544, allocations: 197.9 kB / 1.257 GB, free: 3.074 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.31e-07/0.5544, allocations: 0 / 1.257 GB, free: 3.074 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005596/0.5549, allocations: 95.78 kB / 1.257 GB, free: 2.98 MB / 1.014 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.0005629/0.5555, allocations: 163.8 kB / 1.257 GB, free: 2.82 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005578/0.5561, allocations: 171.7 kB / 1.258 GB, free: 2.652 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.5561, allocations: 0 / 1.258 GB, free: 2.652 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.5563, allocations: 63.89 kB / 1.258 GB, free: 2.59 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008495/0.5571, allocations: 129.8 kB / 1.258 GB, free: 2.469 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009138/0.5581, allocations: 436.6 kB / 1.258 GB, free: 1.996 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.5585, allocations: 0.7596 MB / 1.259 GB, free: 1.211 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002423/0.5587, allocations: 65.89 kB / 1.259 GB, free: 1.145 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.452e-05/0.5588, allocations: 23.44 kB / 1.259 GB, free: 1.121 MB / 1.014 GB Notification: Performance of SimCode: time 4.91e-07/0.5588, allocations: 0 / 1.259 GB, free: 1.121 MB / 1.014 GB Notification: Performance of Templates: time 0.7692/1.328, allocations: 4.39 MB / 1.263 GB, free: 174.9 MB / 1.014 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