Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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.001428/0.001428, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001578/0.001578, allocations: 210.6 kB / 23 MB, free: 4.934 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.689/1.689, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.385/3.385, allocations: 0.49 GB / 0.7959 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.FlowJunctionSteadyState,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_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") translateModel(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,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_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") [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.001941/0.001941, allocations: 66.45 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.496/0.498, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.3083/0.8063, allocations: 213.2 MB / 1.535 GB, free: 10.96 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.0139/0.8202, allocations: 6.789 MB / 1.542 GB, free: 4.164 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002466/0.8227, allocations: 71.38 kB / 1.542 GB, free: 4.094 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001848/0.8245, allocations: 0.5045 MB / 1.543 GB, free: 3.586 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.004569/0.8291, allocations: 1.349 MB / 1.544 GB, free: 2.23 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.005713/0.8348, allocations: 1.736 MB / 1.546 GB, free: 0.5039 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004201/0.839, allocations: 2.029 MB / 1.548 GB, free: 14.46 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.8403, allocations: 0.6806 MB / 1.548 GB, free: 13.77 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00489/0.8452, allocations: 1.732 MB / 1.55 GB, free: 12.03 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001445/0.8466, allocations: 0.7198 MB / 1.551 GB, free: 11.3 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.8468, allocations: 80 kB / 1.551 GB, free: 11.23 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003644/0.8504, allocations: 1.496 MB / 1.552 GB, free: 9.727 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0004401/0.8509, allocations: 307 kB / 1.552 GB, free: 9.426 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0006413/0.8515, allocations: 414.2 kB / 1.553 GB, free: 9.02 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.003929/0.8554, allocations: 1.76 MB / 1.555 GB, free: 7.254 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.8554, allocations: 0 / 1.555 GB, free: 7.254 MB / 1.248 GB Notification: Performance of FrontEnd: time 3.146e-06/0.8554, allocations: 0 / 1.555 GB, free: 7.254 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.8555, allocations: 4 kB / 1.555 GB, free: 7.25 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002806/0.8583, allocations: 1.235 MB / 1.556 GB, free: 5.98 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.8583, allocations: 8.031 kB / 1.556 GB, free: 5.973 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/0.8602, allocations: 287.1 kB / 1.556 GB, free: 5.691 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.8616, allocations: 0.6542 MB / 1.557 GB, free: 5.012 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.615e-05/0.8617, allocations: 37 kB / 1.557 GB, free: 4.973 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.8618, allocations: 55.94 kB / 1.557 GB, free: 4.918 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.8631, allocations: 0.6773 MB / 1.557 GB, free: 4.223 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.8631, allocations: 0 / 1.557 GB, free: 4.223 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.775e-05/0.8632, allocations: 23.98 kB / 1.557 GB, free: 4.199 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.8632, allocations: 12 kB / 1.557 GB, free: 4.188 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.8645, allocations: 0.6246 MB / 1.558 GB, free: 3.566 MB / 1.248 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.003617/0.8681, allocations: 1.57 MB / 1.56 GB, free: 1.961 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.8692, allocations: 459.8 kB / 1.56 GB, free: 1.504 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000569/0.8698, allocations: 299.3 kB / 1.56 GB, free: 1.211 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006063/0.8704, allocations: 100.3 kB / 1.56 GB, free: 1.109 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.8704, allocations: 45.88 kB / 1.56 GB, free: 1.059 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008821/0.8713, allocations: 147.7 kB / 1.561 GB, free: 0.9141 MB / 1.248 GB Notification: Performance of pre-optimization done (n=45): time 3.777e-06/0.8713, allocations: 0 / 1.561 GB, free: 0.9141 MB / 1.248 GB Notification: Performance of matching and sorting (n=45): time 0.002955/0.8743, allocations: 1.032 MB / 1.562 GB, free: 15.87 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.8743, allocations: 59.41 kB / 1.562 GB, free: 15.8 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008491/0.8751, allocations: 0.5786 MB / 1.562 GB, free: 15.21 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 6.018e-05/0.8752, allocations: 37.7 kB / 1.562 GB, free: 15.17 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/0.8755, allocations: 349.2 kB / 1.563 GB, free: 14.82 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.8757, allocations: 166.5 kB / 1.563 GB, free: 14.66 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.8759, allocations: 94.09 kB / 1.563 GB, free: 14.56 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002223/0.8761, allocations: 374.8 kB / 1.563 GB, free: 14.18 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004917/0.8766, allocations: 242.4 kB / 1.563 GB, free: 13.95 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007596/0.8774, allocations: 0.5678 MB / 1.564 GB, free: 13.29 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.8784, allocations: 0.5207 MB / 1.564 GB, free: 12.76 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.8784, allocations: 0 / 1.564 GB, free: 12.76 MB / 1.264 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00168/0.8801, allocations: 0.7344 MB / 1.565 GB, free: 12.02 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.8801, allocations: 13.81 kB / 1.565 GB, free: 12 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.8801, allocations: 0 / 1.565 GB, free: 12 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005023/0.8806, allocations: 84.86 kB / 1.565 GB, free: 11.92 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005281/0.8812, allocations: 91.86 kB / 1.565 GB, free: 11.83 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006325/0.8818, allocations: 0.6226 MB / 1.566 GB, free: 11.18 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006262/0.8824, allocations: 31.97 kB / 1.566 GB, free: 11.15 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-05/0.8825, allocations: 32.03 kB / 1.566 GB, free: 11.12 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007715/0.8833, allocations: 392.8 kB / 1.566 GB, free: 10.73 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007222/0.884, allocations: 0.5677 MB / 1.567 GB, free: 10.07 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009592/0.8849, allocations: 0.5091 MB / 1.567 GB, free: 9.555 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.527e-06/0.8849, allocations: 8.062 kB / 1.567 GB, free: 9.547 MB / 1.264 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001429/0.8864, allocations: 0.6759 MB / 1.568 GB, free: 8.859 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.8864, allocations: 8.062 kB / 1.568 GB, free: 8.852 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.8864, allocations: 0 / 1.568 GB, free: 8.852 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002211/0.8866, allocations: 68.75 kB / 1.568 GB, free: 8.781 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004991/0.8871, allocations: 91.86 kB / 1.568 GB, free: 8.691 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/0.8891, allocations: 1.715 MB / 1.57 GB, free: 6.875 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006217/0.8897, allocations: 31.97 kB / 1.57 GB, free: 6.844 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/0.8898, allocations: 31.91 kB / 1.57 GB, free: 6.812 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (43): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002718/0.89, allocations: 204.1 kB / 1.57 GB, free: 6.605 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.8902, allocations: 75.53 kB / 1.57 GB, free: 6.531 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/0.8919, allocations: 0.7657 MB / 1.571 GB, free: 5.754 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.8919, allocations: 0 / 1.571 GB, free: 5.754 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.8919, allocations: 0 / 1.571 GB, free: 5.754 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003267/0.8922, allocations: 123.5 kB / 1.571 GB, free: 5.633 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.675e-05/0.8923, allocations: 12 kB / 1.571 GB, free: 5.621 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004802/0.8928, allocations: 31.95 kB / 1.571 GB, free: 5.59 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.8929, allocations: 48.23 kB / 1.571 GB, free: 5.543 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001671/0.8946, allocations: 0.7151 MB / 1.572 GB, free: 4.816 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001901/0.8965, allocations: 1.107 MB / 1.573 GB, free: 3.691 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004712/0.897, allocations: 255.5 kB / 1.573 GB, free: 3.445 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006117/0.8976, allocations: 419 kB / 1.574 GB, free: 3.039 MB / 1.264 GB Notification: Performance of Backend: time 4.3e-07/0.8976, allocations: 3.938 kB / 1.574 GB, free: 3.035 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003352/0.901, allocations: 1.152 MB / 1.575 GB, free: 1.859 MB / 1.264 GB Notification: Performance of SimCode: time 0.003475/0.9044, allocations: 2.032 MB / 1.577 GB, free: 15.79 MB / 1.279 GB Notification: Performance of Templates: time 0.03943/0.9439, allocations: 22.75 MB / 1.599 GB, free: 9.375 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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: 12.284425318001013]