Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002082/0.002082, allocations: 215.6 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.386/3.386, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.Validation.FlowJunctionSteadyStateNoPressureDrop") translateModel(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.Validation.FlowJunctionSteadyStateNoPressureDrop") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 67.78 kB / 1.178 GB, free: 16.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4137, allocations: 180.2 MB / 1.354 GB, free: 7.945 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.3672/0.7809, allocations: 244.7 MB / 1.593 GB, free: 2.395 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.01271/0.7936, allocations: 7.191 MB / 1.6 GB, free: 11.19 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002003/0.7956, allocations: 75.38 kB / 1.6 GB, free: 11.12 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.7973, allocations: 0.5279 MB / 1.601 GB, free: 10.59 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.003863/0.8012, allocations: 1.369 MB / 1.602 GB, free: 9.211 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.004388/0.8056, allocations: 1.691 MB / 1.604 GB, free: 7.523 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.003383/0.809, allocations: 1.963 MB / 1.606 GB, free: 5.555 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.8102, allocations: 0.6611 MB / 1.606 GB, free: 4.879 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004267/0.8144, allocations: 1.728 MB / 1.608 GB, free: 3.145 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.8157, allocations: 0.7004 MB / 1.609 GB, free: 2.441 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.8159, allocations: 76 kB / 1.609 GB, free: 2.367 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00321/0.8191, allocations: 1.578 MB / 1.61 GB, free: 0.7852 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0003657/0.8195, allocations: 310.9 kB / 1.61 GB, free: 492 kB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.0006545/0.8201, allocations: 489.7 kB / 1.611 GB, free: 0 / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.9237/1.744, allocations: 1.637 MB / 1.613 GB, free: 27.67 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/1.744, allocations: 0.625 kB / 1.613 GB, free: 27.67 MB / 1.295 GB Notification: Performance of FrontEnd: time 3.426e-06/1.744, allocations: 0.9062 kB / 1.613 GB, free: 27.67 MB / 1.295 GB Notification: Performance of Transformations before backend: time 5.637e-05/1.744, allocations: 0 / 1.613 GB, free: 27.67 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.005023/1.749, allocations: 1.183 MB / 1.614 GB, free: 27.02 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/1.749, allocations: 10.97 kB / 1.614 GB, free: 27.02 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00326/1.752, allocations: 289.3 kB / 1.614 GB, free: 26.97 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002713/1.755, allocations: 0.641 MB / 1.615 GB, free: 26.72 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.674e-05/1.755, allocations: 39.88 kB / 1.615 GB, free: 26.72 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/1.755, allocations: 51.84 kB / 1.615 GB, free: 26.72 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/1.757, allocations: 0.6083 MB / 1.615 GB, free: 26.69 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/1.757, allocations: 0.5938 kB / 1.615 GB, free: 26.69 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.35e-05/1.757, allocations: 29.69 kB / 1.615 GB, free: 26.69 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/1.757, allocations: 11.81 kB / 1.615 GB, free: 26.69 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/1.759, allocations: 0.6242 MB / 1.616 GB, free: 26.69 MB / 1.295 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.006975/1.766, allocations: 2.828 MB / 1.619 GB, free: 25.35 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/1.768, allocations: 386.6 kB / 1.619 GB, free: 25.32 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008022/1.768, allocations: 264.3 kB / 1.619 GB, free: 25.31 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000881/1.769, allocations: 98.09 kB / 1.619 GB, free: 25.31 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/1.769, allocations: 37.55 kB / 1.619 GB, free: 25.27 MB / 1.295 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001632/1.771, allocations: 152.2 kB / 1.62 GB, free: 25.25 MB / 1.295 GB Notification: Performance of pre-optimization done (n=39): time 5.681e-06/1.771, allocations: 0.7188 kB / 1.62 GB, free: 25.25 MB / 1.295 GB Notification: Performance of matching and sorting (n=39): time 0.00338/1.774, allocations: 0.8213 MB / 1.62 GB, free: 25.17 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/1.774, allocations: 56.7 kB / 1.62 GB, free: 25.11 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/1.776, allocations: 0.7022 MB / 1.621 GB, free: 24.98 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/1.776, allocations: 36.52 kB / 1.621 GB, free: 24.95 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003881/1.777, allocations: 365.1 kB / 1.621 GB, free: 24.82 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/1.777, allocations: 149 kB / 1.622 GB, free: 24.72 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002457/1.777, allocations: 93.48 kB / 1.622 GB, free: 24.7 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 8.298e-05/1.777, allocations: 322.2 kB / 1.622 GB, free: 24.4 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006682/1.778, allocations: 206 kB / 1.622 GB, free: 24.4 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008073/1.779, allocations: 306.7 kB / 1.623 GB, free: 24.32 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/1.78, allocations: 0.4967 MB / 1.623 GB, free: 24.27 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/1.78, allocations: 6.297 kB / 1.623 GB, free: 24.27 MB / 1.295 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.002061/1.782, allocations: 0.6179 MB / 1.624 GB, free: 24.19 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/1.782, allocations: 5.281 kB / 1.624 GB, free: 24.19 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/1.782, allocations: 3.828 kB / 1.624 GB, free: 24.19 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.091e-05/1.782, allocations: 3.906 kB / 1.624 GB, free: 24.19 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008636/1.783, allocations: 99.28 kB / 1.624 GB, free: 24.19 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/1.783, allocations: 3.844 kB / 1.624 GB, free: 24.19 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/1.784, allocations: 30.69 kB / 1.624 GB, free: 24.19 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.37e-05/1.784, allocations: 27.66 kB / 1.624 GB, free: 24.19 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (46): * Single equations (assignments): 46 * 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.000507/1.785, allocations: 218.2 kB / 1.624 GB, free: 24.07 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002252/1.785, allocations: 84.03 kB / 1.624 GB, free: 24.03 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001991/1.787, allocations: 0.6611 MB / 1.625 GB, free: 23.96 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/1.787, allocations: 4.594 kB / 1.625 GB, free: 23.96 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.787, allocations: 1.641 kB / 1.625 GB, free: 23.96 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/1.787, allocations: 3.391 kB / 1.625 GB, free: 23.96 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004039/1.791, allocations: 1.492 MB / 1.626 GB, free: 23.59 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/1.791, allocations: 6.156 kB / 1.626 GB, free: 23.58 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008173/1.792, allocations: 84.66 kB / 1.626 GB, free: 23.58 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-05/1.792, allocations: 8.125 kB / 1.626 GB, free: 23.58 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.597e-05/1.792, allocations: 15.67 kB / 1.626 GB, free: 23.58 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.792e-05/1.792, allocations: 7.344 kB / 1.626 GB, free: 23.58 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/1.792, allocations: 4.906 kB / 1.626 GB, free: 23.58 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003031/1.795, allocations: 1.055 MB / 1.627 GB, free: 23.29 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007605/1.796, allocations: 126.1 kB / 1.627 GB, free: 23.24 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/1.796, allocations: 14.2 kB / 1.627 GB, free: 23.24 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007885/1.797, allocations: 29.09 kB / 1.627 GB, free: 23.24 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/1.797, allocations: 43.02 kB / 1.628 GB, free: 23.24 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.609e-05/1.797, allocations: 15.95 kB / 1.628 GB, free: 23.24 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001291/1.798, allocations: 0.4932 MB / 1.628 GB, free: 23.15 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.51e-07/1.798, allocations: 1 kB / 1.628 GB, free: 23.15 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001444/1.8, allocations: 196.9 kB / 1.628 GB, free: 23.13 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (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 (42): * Single equations (assignments): 42 * 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.0005922/1.8, allocations: 204.5 kB / 1.628 GB, free: 23.04 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001611/1.802, allocations: 494.2 kB / 1.629 GB, free: 23.04 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.802, allocations: 1.219 kB / 1.629 GB, free: 23.04 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0005437/1.803, allocations: 261.5 kB / 1.629 GB, free: 23.04 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002959/1.806, allocations: 469 kB / 1.63 GB, free: 23 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0061/1.812, allocations: 1.864 MB / 1.631 GB, free: 22.31 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/1.812, allocations: 0.9627 MB / 1.632 GB, free: 21.61 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003988/1.813, allocations: 72.44 kB / 1.632 GB, free: 21.61 MB / 1.295 GB Notification: Performance of SimCode: time 7.71e-07/1.813, allocations: 0 / 1.632 GB, free: 21.61 MB / 1.295 GB Notification: Performance of Templates: time 0.02811/1.841, allocations: 12.97 MB / 1.645 GB, free: 20.58 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.777860633999808]