Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Validation.FlowJunctionSteadyState,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_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") translateModel(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,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_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 109.6 kB / 16.42 MB, free: 6.512 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.001832/0.001832, allocations: 189.5 kB / 17.35 MB, free: 5.734 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.434/1.434, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.523/2.523, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 63.91 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.229/1.23, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.3059/1.536, allocations: 239.9 MB / 1.402 GB, free: 3.078 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01436/1.551, allocations: 7.208 MB / 1.409 GB, free: 11.86 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002556/1.553, allocations: 51.69 kB / 1.409 GB, free: 11.81 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002074/1.556, allocations: 0.5202 MB / 1.409 GB, free: 11.29 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004979/1.561, allocations: 1.382 MB / 1.411 GB, free: 9.898 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.005308/1.566, allocations: 1.718 MB / 1.412 GB, free: 8.188 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003873/1.57, allocations: 2.014 MB / 1.414 GB, free: 6.168 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001887/1.572, allocations: 0.8128 MB / 1.415 GB, free: 5.336 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004228/1.576, allocations: 1.479 MB / 1.416 GB, free: 3.852 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/1.578, allocations: 0.6809 MB / 1.417 GB, free: 3.168 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003946/1.578, allocations: 80 kB / 1.417 GB, free: 3.09 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004483/1.583, allocations: 1.824 MB / 1.419 GB, free: 1.262 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0006117/1.583, allocations: 307 kB / 1.419 GB, free: 0.9609 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001228/1.584, allocations: 493.7 kB / 1.42 GB, free: 488 kB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004688/1.589, allocations: 1.784 MB / 1.421 GB, free: 14.69 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.589, allocations: 0 / 1.421 GB, free: 14.69 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.324e-06/1.589, allocations: 0 / 1.421 GB, free: 14.69 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.485e-05/1.589, allocations: 0 / 1.421 GB, free: 14.69 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.003901/1.593, allocations: 1.3 MB / 1.423 GB, free: 13.34 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 6.098e-05/1.593, allocations: 12.62 kB / 1.423 GB, free: 13.32 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/1.595, allocations: 290.5 kB / 1.423 GB, free: 13.04 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/1.597, allocations: 0.7023 MB / 1.424 GB, free: 12.3 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.338e-05/1.597, allocations: 40.94 kB / 1.424 GB, free: 12.26 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/1.597, allocations: 59.94 kB / 1.424 GB, free: 12.2 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/1.599, allocations: 0.6075 MB / 1.424 GB, free: 11.59 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/1.599, allocations: 0 / 1.424 GB, free: 11.59 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.162e-05/1.599, allocations: 24 kB / 1.424 GB, free: 11.56 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/1.599, allocations: 12 kB / 1.424 GB, free: 11.55 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/1.6, allocations: 0.6129 MB / 1.425 GB, free: 10.94 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.004299/1.604, allocations: 2.61 MB / 1.428 GB, free: 8.094 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/1.605, allocations: 475.9 kB / 1.428 GB, free: 7.621 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005918/1.606, allocations: 321.3 kB / 1.428 GB, free: 7.305 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007493/1.607, allocations: 400.7 kB / 1.429 GB, free: 6.836 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/1.607, allocations: 45.94 kB / 1.429 GB, free: 6.785 MB / 1.154 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006455/1.607, allocations: 111.5 kB / 1.429 GB, free: 6.676 MB / 1.154 GB Notification: Performance of pre-optimization done (n=45): time 5.681e-06/1.607, allocations: 0 / 1.429 GB, free: 6.676 MB / 1.154 GB Notification: Performance of matching and sorting (n=45): time 0.002966/1.61, allocations: 1.11 MB / 1.43 GB, free: 5.535 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/1.61, allocations: 55.41 kB / 1.43 GB, free: 5.469 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009233/1.611, allocations: 0.6491 MB / 1.431 GB, free: 4.812 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.782e-05/1.611, allocations: 41.7 kB / 1.431 GB, free: 4.766 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/1.612, allocations: 345.1 kB / 1.431 GB, free: 4.422 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/1.612, allocations: 153.7 kB / 1.431 GB, free: 4.27 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/1.612, allocations: 102 kB / 1.431 GB, free: 4.164 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001113/1.612, allocations: 322 kB / 1.432 GB, free: 3.844 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004874/1.613, allocations: 234.4 kB / 1.432 GB, free: 3.609 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005918/1.613, allocations: 324.4 kB / 1.432 GB, free: 3.27 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/1.614, allocations: 0.5246 MB / 1.433 GB, free: 2.734 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.614, allocations: 0 / 1.433 GB, free: 2.734 MB / 1.154 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001702/1.616, allocations: 0.7301 MB / 1.433 GB, free: 1.992 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/1.616, allocations: 4 kB / 1.433 GB, free: 1.988 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/1.616, allocations: 8 kB / 1.433 GB, free: 1.98 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004959/1.617, allocations: 92.81 kB / 1.433 GB, free: 1.887 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000513/1.617, allocations: 87.86 kB / 1.433 GB, free: 1.801 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006199/1.618, allocations: 0.6226 MB / 1.434 GB, free: 1.152 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007524/1.619, allocations: 31.97 kB / 1.434 GB, free: 1.121 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.758e-05/1.619, allocations: 20.11 kB / 1.434 GB, free: 1.102 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007318/1.619, allocations: 407 kB / 1.435 GB, free: 0.7031 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005369/1.62, allocations: 316.3 kB / 1.435 GB, free: 376 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009906/1.621, allocations: 0.513 MB / 1.435 GB, free: 15.84 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/1.621, allocations: 3.938 kB / 1.435 GB, free: 15.84 MB / 1.17 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001463/1.622, allocations: 0.6871 MB / 1.436 GB, free: 15.14 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.623, allocations: 4 kB / 1.436 GB, free: 15.13 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/1.623, allocations: 0 / 1.436 GB, free: 15.13 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002374/1.623, allocations: 64.8 kB / 1.436 GB, free: 15.07 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004878/1.623, allocations: 95.8 kB / 1.436 GB, free: 14.98 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/1.625, allocations: 1.874 MB / 1.438 GB, free: 12.97 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007491/1.626, allocations: 43.95 kB / 1.438 GB, free: 12.93 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.787e-05/1.626, allocations: 15.98 kB / 1.438 GB, free: 12.91 MB / 1.17 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.0002877/1.627, allocations: 208.3 kB / 1.438 GB, free: 12.7 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/1.627, allocations: 83.05 kB / 1.438 GB, free: 12.62 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/1.629, allocations: 0.766 MB / 1.439 GB, free: 11.84 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/1.629, allocations: 4 kB / 1.439 GB, free: 11.84 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/1.629, allocations: 0 / 1.439 GB, free: 11.84 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003932/1.629, allocations: 208.1 kB / 1.439 GB, free: 11.61 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/1.629, allocations: 4 kB / 1.439 GB, free: 11.61 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005636/1.63, allocations: 35.91 kB / 1.439 GB, free: 11.57 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/1.63, allocations: 40.31 kB / 1.439 GB, free: 11.54 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001655/1.632, allocations: 0.723 MB / 1.44 GB, free: 10.8 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001843/1.633, allocations: 1.114 MB / 1.441 GB, free: 9.672 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005023/1.634, allocations: 267.3 kB / 1.441 GB, free: 9.41 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007932/1.635, allocations: 471 kB / 1.442 GB, free: 8.953 MB / 1.17 GB Notification: Performance of Backend: time 6.01e-07/1.635, allocations: 0 / 1.442 GB, free: 8.953 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003732/1.639, allocations: 1.212 MB / 1.443 GB, free: 7.73 MB / 1.17 GB Notification: Performance of SimCode: time 0.003816/1.642, allocations: 2.069 MB / 1.445 GB, free: 5.629 MB / 1.17 GB Notification: Performance of Templates: time 0.04083/1.683, allocations: 21.77 MB / 1.466 GB, free: 80 kB / 1.186 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches