Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.FlowJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|spl.port_1.m_flow|spl.port_2.m_flow|spl.port_3.m_flow|spl.port_1.p|spl.port_2.p|spl.port_3.p|spl.res1.dp|spl.res2.dp|spl.res3.dp|senTem1.T|senTem2.T|senTem3.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|spl.port_1.m_flow|spl.port_2.m_flow|spl.port_3.m_flow|spl.port_1.p|spl.port_2.p|spl.port_3.p|spl.res1.dp|spl.res2.dp|spl.res3.dp|senTem1.T|senTem2.T|senTem3.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008072/0.008072, allocations: 100.4 kB / 15.73 MB, free: 6.031 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.001476/0.001477, allocations: 193.2 kB / 16.67 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.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.887/2.887, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.91 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3854, allocations: 157.4 MB / 1.208 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 1.109/1.494, allocations: 239.9 MB / 1.442 GB, free: 6.773 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01188/1.506, allocations: 7.212 MB / 1.449 GB, free: 15.55 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002198/1.508, allocations: 51.69 kB / 1.449 GB, free: 15.5 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00205/1.51, allocations: 0.6949 MB / 1.45 GB, free: 14.8 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005518/1.516, allocations: 2.073 MB / 1.452 GB, free: 12.72 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004964/1.521, allocations: 2.032 MB / 1.454 GB, free: 10.7 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.005016/1.526, allocations: 3.277 MB / 1.457 GB, free: 7.414 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002359/1.528, allocations: 1.136 MB / 1.458 GB, free: 6.258 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005242/1.534, allocations: 1.821 MB / 1.46 GB, free: 4.43 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002123/1.536, allocations: 0.9655 MB / 1.461 GB, free: 3.465 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002336/1.536, allocations: 124 kB / 1.461 GB, free: 3.344 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005479/1.542, allocations: 2.483 MB / 1.463 GB, free: 0.8555 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005131/1.542, allocations: 462.7 kB / 1.464 GB, free: 412 kB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0009145/1.543, allocations: 0.7195 MB / 1.464 GB, free: 15.68 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005168/1.548, allocations: 2.68 MB / 1.467 GB, free: 12.99 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/1.548, allocations: 7.984 kB / 1.467 GB, free: 12.98 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.734e-06/1.548, allocations: 0 / 1.467 GB, free: 12.98 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.783e-05/1.548, allocations: 0 / 1.467 GB, free: 12.98 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.00298/1.551, allocations: 1.706 MB / 1.469 GB, free: 11.23 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/1.551, allocations: 8.625 kB / 1.469 GB, free: 11.22 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002543/1.554, allocations: 422 kB / 1.469 GB, free: 10.8 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/1.556, allocations: 1.026 MB / 1.47 GB, free: 9.734 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.579e-05/1.556, allocations: 62 kB / 1.47 GB, free: 9.672 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/1.556, allocations: 87.91 kB / 1.47 GB, free: 9.586 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/1.558, allocations: 0.8585 MB / 1.471 GB, free: 8.723 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/1.558, allocations: 8 kB / 1.471 GB, free: 8.715 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-05/1.558, allocations: 32.81 kB / 1.471 GB, free: 8.684 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.713e-05/1.558, allocations: 26 kB / 1.471 GB, free: 8.66 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/1.559, allocations: 0.808 MB / 1.472 GB, free: 7.848 MB / 1.154 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.004708/1.564, allocations: 3.643 MB / 1.476 GB, free: 3.914 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/1.565, allocations: 1.094 MB / 1.477 GB, free: 2.703 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005853/1.566, allocations: 375.9 kB / 1.477 GB, free: 2.336 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006988/1.567, allocations: 412.8 kB / 1.477 GB, free: 1.859 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/1.567, allocations: 43.12 kB / 1.477 GB, free: 1.809 MB / 1.154 GB Notification: Performance of pre-optimization done (n=60): time 2.255e-06/1.567, allocations: 0 / 1.477 GB, free: 1.809 MB / 1.154 GB Notification: Performance of matching and sorting (n=60): time 0.002134/1.569, allocations: 0.9546 MB / 1.478 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/1.569, allocations: 55.97 kB / 1.478 GB, free: 0.7852 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/1.57, allocations: 0.8361 MB / 1.479 GB, free: 15.93 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.684e-05/1.57, allocations: 37.7 kB / 1.479 GB, free: 15.88 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/1.57, allocations: 488 kB / 1.48 GB, free: 15.4 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/1.571, allocations: 216.8 kB / 1.48 GB, free: 15.18 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/1.571, allocations: 110.2 kB / 1.48 GB, free: 15.07 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001122/1.571, allocations: 334 kB / 1.48 GB, free: 14.74 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004794/1.571, allocations: 251.8 kB / 1.481 GB, free: 14.49 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005813/1.572, allocations: 375.4 kB / 1.481 GB, free: 14.09 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/1.573, allocations: 0.5891 MB / 1.482 GB, free: 13.48 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.573, allocations: 0 / 1.482 GB, free: 13.48 MB / 1.17 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001324/1.574, allocations: 0.7359 MB / 1.482 GB, free: 12.74 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/1.574, allocations: 4 kB / 1.482 GB, free: 12.73 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.574, allocations: 4.125 kB / 1.482 GB, free: 12.73 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/1.574, allocations: 4 kB / 1.482 GB, free: 12.73 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005503/1.575, allocations: 135.7 kB / 1.482 GB, free: 12.6 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/1.575, allocations: 4 kB / 1.482 GB, free: 12.59 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007146/1.576, allocations: 67.48 kB / 1.482 GB, free: 12.53 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.194e-05/1.576, allocations: 24 kB / 1.482 GB, free: 12.5 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008157/1.577, allocations: 497 kB / 1.483 GB, free: 12.02 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005663/1.577, allocations: 361.6 kB / 1.483 GB, free: 11.63 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009946/1.578, allocations: 0.589 MB / 1.484 GB, free: 11.03 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/1.578, allocations: 0 / 1.484 GB, free: 11.03 MB / 1.17 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001252/1.579, allocations: 0.7165 MB / 1.485 GB, free: 10.3 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/1.579, allocations: 11.94 kB / 1.485 GB, free: 10.29 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/1.579, allocations: 0 / 1.485 GB, free: 10.29 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.113e-06/1.579, allocations: 4 kB / 1.485 GB, free: 10.29 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005213/1.58, allocations: 123.8 kB / 1.485 GB, free: 10.16 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/1.58, allocations: 8.125 kB / 1.485 GB, free: 10.16 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006918/1.581, allocations: 67.55 kB / 1.485 GB, free: 10.09 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-05/1.581, allocations: 20 kB / 1.485 GB, free: 10.07 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 69 * 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.0001805/1.581, allocations: 208.1 kB / 1.485 GB, free: 9.859 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/1.581, allocations: 106.7 kB / 1.485 GB, free: 9.754 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/1.583, allocations: 0.7431 MB / 1.486 GB, free: 9.008 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/1.583, allocations: 4 kB / 1.486 GB, free: 9.004 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/1.583, allocations: 0 / 1.486 GB, free: 9.004 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001178/1.584, allocations: 0.9034 MB / 1.487 GB, free: 8.016 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003438/1.587, allocations: 2.252 MB / 1.489 GB, free: 5.625 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/1.587, allocations: 8.344 kB / 1.489 GB, free: 5.617 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000633/1.588, allocations: 139.8 kB / 1.489 GB, free: 5.48 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/1.588, allocations: 4 kB / 1.489 GB, free: 5.477 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.527e-05/1.588, allocations: 23.98 kB / 1.489 GB, free: 5.453 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/1.588, allocations: 4 kB / 1.489 GB, free: 5.449 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.588, allocations: 7.938 kB / 1.489 GB, free: 5.441 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/1.59, allocations: 1.23 MB / 1.49 GB, free: 4.148 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004194/1.59, allocations: 267 kB / 1.491 GB, free: 3.871 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/1.59, allocations: 16 kB / 1.491 GB, free: 3.855 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006442/1.591, allocations: 43.95 kB / 1.491 GB, free: 3.812 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/1.591, allocations: 52.25 kB / 1.491 GB, free: 3.762 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-05/1.591, allocations: 20.19 kB / 1.491 GB, free: 3.742 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007718/1.592, allocations: 0.5901 MB / 1.491 GB, free: 3.141 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.8e-07/1.592, allocations: 3.938 kB / 1.491 GB, free: 3.137 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00124/1.593, allocations: 0.5299 MB / 1.492 GB, free: 2.605 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,senTem1.T,senTem2.T,senTem3.T) * 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 (60): * Single equations (assignments): 60 * 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.0005006/1.594, allocations: 238.2 kB / 1.492 GB, free: 2.375 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001807/1.596, allocations: 0.9544 MB / 1.493 GB, free: 1.418 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.596, allocations: 0 / 1.493 GB, free: 1.418 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0006092/1.596, allocations: 338.9 kB / 1.493 GB, free: 1.09 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/1.599, allocations: 0.5961 MB / 1.494 GB, free: 0.5039 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/1.602, allocations: 2.13 MB / 1.496 GB, free: 14.3 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007517/1.603, allocations: 1.124 MB / 1.497 GB, free: 13.15 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009564/1.604, allocations: 304.1 kB / 1.497 GB, free: 12.85 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/1.604, allocations: 83.42 kB / 1.497 GB, free: 12.77 MB / 1.186 GB Notification: Performance of SimCode: time 8.11e-07/1.604, allocations: 0 / 1.497 GB, free: 12.77 MB / 1.186 GB Notification: Performance of Templates: time 0.03497/1.639, allocations: 20.85 MB / 1.518 GB, free: 8.203 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_FlowJunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches