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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001747/0.001748, allocations: 114.8 kB / 16.42 MB, free: 6.48 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.001854/0.001854, allocations: 186.6 kB / 17.35 MB, free: 5.754 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.473/1.473, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.782/2.782, allocations: 472.7 MB / 0.746 GB, free: 444 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 67.84 kB / 1.07 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101/1.102, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.3676/1.47, allocations: 239.9 MB / 1.461 GB, free: 12.75 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02082/1.491, allocations: 7.213 MB / 1.468 GB, free: 5.523 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003562/1.495, allocations: 51.69 kB / 1.468 GB, free: 5.473 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.004167/1.499, allocations: 0.7144 MB / 1.468 GB, free: 4.754 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.009695/1.509, allocations: 2.166 MB / 1.471 GB, free: 2.578 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.009076/1.518, allocations: 2.07 MB / 1.473 GB, free: 0.5156 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.007964/1.526, allocations: 3.277 MB / 1.476 GB, free: 13.23 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003107/1.529, allocations: 1.13 MB / 1.477 GB, free: 12.07 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006191/1.535, allocations: 1.849 MB / 1.479 GB, free: 10.22 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003175/1.538, allocations: 0.9728 MB / 1.48 GB, free: 9.246 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0006308/1.539, allocations: 124 kB / 1.48 GB, free: 9.125 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007075/1.546, allocations: 2.498 MB / 1.482 GB, free: 6.621 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001044/1.547, allocations: 462.7 kB / 1.483 GB, free: 6.168 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002135/1.549, allocations: 0.7193 MB / 1.483 GB, free: 5.445 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.008199/1.558, allocations: 2.694 MB / 1.486 GB, free: 2.742 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/1.558, allocations: 0 / 1.486 GB, free: 2.742 MB / 1.201 GB Notification: Performance of FrontEnd: time 3.376e-06/1.558, allocations: 0 / 1.486 GB, free: 2.742 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.732e-05/1.558, allocations: 0 / 1.486 GB, free: 2.742 MB / 1.201 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.005408/1.563, allocations: 1.757 MB / 1.488 GB, free: 0.9258 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 6.25e-05/1.563, allocations: 11.97 kB / 1.488 GB, free: 0.9141 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003121/1.566, allocations: 426.7 kB / 1.488 GB, free: 0.4961 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003057/1.569, allocations: 1.031 MB / 1.489 GB, free: 15.42 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.834e-05/1.569, allocations: 61.98 kB / 1.489 GB, free: 15.36 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/1.57, allocations: 87.95 kB / 1.489 GB, free: 15.28 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/1.571, allocations: 0.874 MB / 1.49 GB, free: 14.4 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/1.571, allocations: 0 / 1.49 GB, free: 14.4 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/1.572, allocations: 32 kB / 1.49 GB, free: 14.37 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.447e-05/1.572, allocations: 26 kB / 1.49 GB, free: 14.34 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/1.574, allocations: 0.8081 MB / 1.491 GB, free: 13.53 MB / 1.217 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.008129/1.582, allocations: 3.651 MB / 1.494 GB, free: 9.586 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002286/1.584, allocations: 1.083 MB / 1.496 GB, free: 8.387 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009511/1.585, allocations: 380.2 kB / 1.496 GB, free: 8.016 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/1.586, allocations: 408.8 kB / 1.496 GB, free: 7.543 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.181e-05/1.586, allocations: 43.12 kB / 1.496 GB, free: 7.492 MB / 1.217 GB Notification: Performance of pre-optimization done (n=60): time 5.7e-06/1.586, allocations: 0 / 1.496 GB, free: 7.492 MB / 1.217 GB Notification: Performance of matching and sorting (n=60): time 0.003457/1.59, allocations: 0.9667 MB / 1.497 GB, free: 6.516 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/1.59, allocations: 59.95 kB / 1.497 GB, free: 6.445 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/1.592, allocations: 0.8322 MB / 1.498 GB, free: 5.59 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/1.592, allocations: 41.7 kB / 1.498 GB, free: 5.543 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004466/1.592, allocations: 484.8 kB / 1.499 GB, free: 5.062 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/1.592, allocations: 222 kB / 1.499 GB, free: 4.844 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/1.593, allocations: 118.2 kB / 1.499 GB, free: 4.723 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000155/1.593, allocations: 322 kB / 1.499 GB, free: 4.402 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005151/1.593, allocations: 255 kB / 1.5 GB, free: 4.152 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006176/1.594, allocations: 371.4 kB / 1.5 GB, free: 3.758 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/1.595, allocations: 0.5891 MB / 1.5 GB, free: 3.148 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.595, allocations: 0 / 1.5 GB, free: 3.148 MB / 1.217 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001473/1.597, allocations: 0.7365 MB / 1.501 GB, free: 2.41 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/1.597, allocations: 8.125 kB / 1.501 GB, free: 2.402 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/1.597, allocations: 4 kB / 1.501 GB, free: 2.398 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/1.597, allocations: 4 kB / 1.501 GB, free: 2.395 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000636/1.597, allocations: 127.8 kB / 1.501 GB, free: 2.27 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/1.597, allocations: 4 kB / 1.501 GB, free: 2.266 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008192/1.598, allocations: 71.58 kB / 1.501 GB, free: 2.195 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.355e-05/1.598, allocations: 23.98 kB / 1.501 GB, free: 2.172 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009394/1.599, allocations: 0.4893 MB / 1.502 GB, free: 1.68 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005949/1.6, allocations: 359.4 kB / 1.502 GB, free: 1.293 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001044/1.601, allocations: 0.5774 MB / 1.503 GB, free: 0.6992 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.465e-06/1.601, allocations: 4 kB / 1.503 GB, free: 0.6953 MB / 1.217 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001378/1.602, allocations: 0.7287 MB / 1.503 GB, free: 15.96 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/1.602, allocations: 7.938 kB / 1.504 GB, free: 15.95 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/1.602, allocations: 7.938 kB / 1.504 GB, free: 15.94 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.235e-06/1.602, allocations: 4 kB / 1.504 GB, free: 15.94 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005973/1.603, allocations: 131.9 kB / 1.504 GB, free: 15.81 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/1.603, allocations: 7.984 kB / 1.504 GB, free: 15.8 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007816/1.604, allocations: 59.7 kB / 1.504 GB, free: 15.74 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-05/1.604, allocations: 23.98 kB / 1.504 GB, free: 15.72 MB / 1.232 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.0002544/1.604, allocations: 221.4 kB / 1.504 GB, free: 15.5 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/1.604, allocations: 107.3 kB / 1.504 GB, free: 15.39 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/1.606, allocations: 0.7356 MB / 1.505 GB, free: 14.65 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001241/1.607, allocations: 0.9033 MB / 1.506 GB, free: 13.66 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/1.607, allocations: 3.938 kB / 1.506 GB, free: 13.66 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004544/1.608, allocations: 256.2 kB / 1.506 GB, free: 13.39 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/1.608, allocations: 19.98 kB / 1.506 GB, free: 13.37 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006425/1.608, allocations: 39.95 kB / 1.506 GB, free: 13.33 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/1.608, allocations: 32.52 kB / 1.506 GB, free: 13.29 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001829/1.61, allocations: 0.8031 MB / 1.507 GB, free: 12.49 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002067/1.612, allocations: 1.252 MB / 1.508 GB, free: 11.22 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005995/1.613, allocations: 316.4 kB / 1.508 GB, free: 10.91 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009949/1.614, allocations: 0.5862 MB / 1.509 GB, free: 10.32 MB / 1.232 GB Notification: Performance of Backend: time 5.11e-07/1.614, allocations: 0 / 1.509 GB, free: 10.32 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004329/1.618, allocations: 1.287 MB / 1.51 GB, free: 9.031 MB / 1.232 GB Notification: Performance of SimCode: time 0.005098/1.623, allocations: 2.829 MB / 1.513 GB, free: 6.145 MB / 1.232 GB Notification: Performance of Templates: time 0.05129/1.675, allocations: 27.64 MB / 1.54 GB, free: 10.77 MB / 1.264 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches