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.006034/0.006034, allocations: 100.9 kB / 15.73 MB, free: 6.051 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.001122/0.001122, allocations: 196.7 kB / 16.68 MB, free: 5.965 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.445/2.445, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.91 kB / 0.9508 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124/1.125, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2496/1.375, allocations: 161.5 MB / 1.246 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003931/1.379, allocations: 1.706 MB / 1.247 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006723/1.38, allocations: 10.16 kB / 1.247 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007706/1.381, allocations: 173.8 kB / 1.247 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001816/1.382, allocations: 0.5222 MB / 1.248 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001582/1.384, allocations: 435.3 kB / 1.248 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009973/1.385, allocations: 0.575 MB / 1.249 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003631/1.385, allocations: 176.5 kB / 1.249 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000774/1.386, allocations: 330.7 kB / 1.249 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/1.386, allocations: 151.3 kB / 1.25 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/1.386, allocations: 12 kB / 1.25 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/1.388, allocations: 0.7015 MB / 1.25 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/1.388, allocations: 79.78 kB / 1.25 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000127/1.388, allocations: 115.4 kB / 1.25 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007659/1.389, allocations: 0.4926 MB / 1.251 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/1.389, allocations: 0 / 1.251 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.332e-06/1.389, allocations: 0 / 1.251 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.237e-05/1.389, allocations: 0 / 1.251 GB, free: 6.785 MB / 0.9825 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.0008985/1.39, allocations: 0.58 MB / 1.252 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/1.39, allocations: 12.03 kB / 1.252 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003658/1.39, allocations: 51.69 kB / 1.252 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004664/1.391, allocations: 305.3 kB / 1.252 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/1.391, allocations: 12 kB / 1.252 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/1.391, allocations: 12 kB / 1.252 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/1.391, allocations: 196.1 kB / 1.252 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/1.391, allocations: 3.938 kB / 1.252 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/1.391, allocations: 8 kB / 1.252 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/1.391, allocations: 8 kB / 1.252 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000293/1.391, allocations: 131.8 kB / 1.252 GB, free: 5.375 MB / 0.9825 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.001049/1.393, allocations: 0.7808 MB / 1.253 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/1.393, allocations: 86.47 kB / 1.253 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/1.393, allocations: 80.86 kB / 1.253 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002811/1.393, allocations: 186.2 kB / 1.253 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/1.393, allocations: 34.56 kB / 1.253 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.974e-06/1.393, allocations: 0 / 1.253 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0006627/1.394, allocations: 221.2 kB / 1.254 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/1.394, allocations: 55.41 kB / 1.254 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/1.394, allocations: 267.4 kB / 1.254 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/1.394, allocations: 29.7 kB / 1.254 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/1.394, allocations: 144 kB / 1.254 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/1.394, allocations: 35.55 kB / 1.254 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/1.395, allocations: 37.56 kB / 1.254 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001186/1.395, allocations: 330.8 kB / 1.254 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/1.395, allocations: 48.77 kB / 1.254 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/1.395, allocations: 97.09 kB / 1.255 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/1.395, allocations: 115.3 kB / 1.255 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.395, allocations: 0 / 1.255 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000318/1.396, allocations: 157.4 kB / 1.255 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.396, allocations: 8 kB / 1.255 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/1.396, allocations: 0 / 1.255 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/1.396, allocations: 3.938 kB / 1.255 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/1.396, allocations: 27.92 kB / 1.255 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/1.396, allocations: 0 / 1.255 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/1.396, allocations: 23.83 kB / 1.255 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/1.396, allocations: 7.984 kB / 1.255 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001928/1.396, allocations: 150.5 kB / 1.255 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001395/1.396, allocations: 89.11 kB / 1.255 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000216/1.396, allocations: 123.4 kB / 1.255 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/1.397, allocations: 4 kB / 1.255 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002817/1.397, allocations: 153.2 kB / 1.255 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/1.397, allocations: 11.98 kB / 1.255 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-06/1.397, allocations: 3.938 kB / 1.255 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-06/1.397, allocations: 4 kB / 1.255 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/1.397, allocations: 23.92 kB / 1.255 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-06/1.397, allocations: 0 / 1.255 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/1.397, allocations: 20.02 kB / 1.255 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/1.397, allocations: 4 kB / 1.255 GB, free: 1.809 MB / 0.9825 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.0001073/1.397, allocations: 184.3 kB / 1.256 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/1.397, allocations: 27.66 kB / 1.256 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003554/1.398, allocations: 163.6 kB / 1.256 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/1.398, allocations: 4 kB / 1.256 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.398, allocations: 0 / 1.256 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.398, allocations: 7.984 kB / 1.256 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009025/1.399, allocations: 0.5899 MB / 1.256 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.399, allocations: 4 kB / 1.256 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/1.399, allocations: 27.98 kB / 1.256 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/1.399, allocations: 0 / 1.256 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/1.399, allocations: 4 kB / 1.256 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/1.399, allocations: 11.92 kB / 1.256 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.399, allocations: 0 / 1.256 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004123/1.399, allocations: 297.3 kB / 1.257 GB, free: 376 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-05/1.399, allocations: 117 kB / 1.257 GB, free: 240 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/1.399, allocations: 4 kB / 1.257 GB, free: 236 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/1.4, allocations: 11.97 kB / 1.257 GB, free: 224 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/1.4, allocations: 19.92 kB / 1.257 GB, free: 204 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/1.4, allocations: 7.938 kB / 1.257 GB, free: 196 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001963/1.4, allocations: 198 kB / 1.257 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.4, allocations: 0 / 1.257 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004471/1.4, allocations: 95.84 kB / 1.257 GB, free: 15.9 MB / 0.9981 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.0004136/1.401, allocations: 167.3 kB / 1.257 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004443/1.401, allocations: 163.8 kB / 1.257 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.401, allocations: 0 / 1.257 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/1.401, allocations: 72.14 kB / 1.258 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006557/1.402, allocations: 114.4 kB / 1.258 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000775/1.403, allocations: 453.3 kB / 1.258 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/1.403, allocations: 0.7519 MB / 1.259 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001861/1.403, allocations: 69.86 kB / 1.259 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.101e-05/1.403, allocations: 23.44 kB / 1.259 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/1.403, allocations: 0 / 1.259 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of Templates: time 0.00936/1.413, allocations: 4.389 MB / 1.263 GB, free: 9.715 MB / 0.9981 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