Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001563/0.001563, allocations: 108.5 kB / 16.41 MB, free: 6.465 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.001783/0.001783, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.482/1.482, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.721/2.721, allocations: 469.4 MB / 0.7428 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001398, allocations: 71.84 kB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8925/0.8939, allocations: 159.1 MB / 1.221 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.2636/1.158, allocations: 239.9 MB / 1.455 GB, free: 1.574 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01171/1.169, allocations: 7.202 MB / 1.462 GB, free: 10.36 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001957/1.171, allocations: 55.69 kB / 1.462 GB, free: 10.3 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001768/1.173, allocations: 0.5201 MB / 1.463 GB, free: 9.777 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003954/1.177, allocations: 1.38 MB / 1.464 GB, free: 8.391 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00528/1.182, allocations: 1.716 MB / 1.466 GB, free: 6.68 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.005299/1.188, allocations: 2.021 MB / 1.468 GB, free: 4.652 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002039/1.19, allocations: 0.8206 MB / 1.469 GB, free: 3.816 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004591/1.194, allocations: 1.467 MB / 1.47 GB, free: 2.344 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001364/1.196, allocations: 0.6848 MB / 1.471 GB, free: 1.656 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003205/1.196, allocations: 76 kB / 1.471 GB, free: 1.582 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004096/1.2, allocations: 1.824 MB / 1.472 GB, free: 15.75 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005155/1.201, allocations: 302.9 kB / 1.473 GB, free: 15.46 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001168/1.202, allocations: 497.6 kB / 1.473 GB, free: 14.97 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004956/1.207, allocations: 1.784 MB / 1.475 GB, free: 13.18 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/1.207, allocations: 7.938 kB / 1.475 GB, free: 13.17 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.703e-06/1.207, allocations: 0 / 1.475 GB, free: 13.17 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.483e-05/1.207, allocations: 4 kB / 1.475 GB, free: 13.17 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.003149/1.21, allocations: 1.296 MB / 1.476 GB, free: 11.82 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/1.21, allocations: 16.5 kB / 1.476 GB, free: 11.8 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001934/1.212, allocations: 286.6 kB / 1.477 GB, free: 11.52 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/1.214, allocations: 0.7023 MB / 1.477 GB, free: 10.78 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.528e-05/1.214, allocations: 41 kB / 1.477 GB, free: 10.74 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/1.214, allocations: 56 kB / 1.477 GB, free: 10.68 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/1.215, allocations: 0.6075 MB / 1.478 GB, free: 10.07 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/1.215, allocations: 0 / 1.478 GB, free: 10.07 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.196e-05/1.215, allocations: 16 kB / 1.478 GB, free: 10.06 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/1.215, allocations: 19.98 kB / 1.478 GB, free: 10.04 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/1.217, allocations: 0.6051 MB / 1.479 GB, free: 9.438 MB / 1.201 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.004425/1.221, allocations: 2.617 MB / 1.481 GB, free: 6.586 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009976/1.222, allocations: 475.9 kB / 1.482 GB, free: 6.113 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000547/1.223, allocations: 319.5 kB / 1.482 GB, free: 5.801 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006966/1.223, allocations: 408.7 kB / 1.482 GB, free: 5.324 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/1.223, allocations: 41.88 kB / 1.482 GB, free: 5.277 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005831/1.224, allocations: 107.6 kB / 1.482 GB, free: 5.172 MB / 1.201 GB Notification: Performance of pre-optimization done (n=45): time 3.646e-06/1.224, allocations: 0 / 1.482 GB, free: 5.172 MB / 1.201 GB Notification: Performance of matching and sorting (n=45): time 0.002898/1.227, allocations: 1.108 MB / 1.483 GB, free: 4.035 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.207e-05/1.227, allocations: 55.41 kB / 1.484 GB, free: 3.969 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008452/1.228, allocations: 0.653 MB / 1.484 GB, free: 3.309 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.113e-05/1.228, allocations: 33.7 kB / 1.484 GB, free: 3.27 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/1.228, allocations: 345.1 kB / 1.485 GB, free: 2.926 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/1.228, allocations: 161.6 kB / 1.485 GB, free: 2.766 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001789/1.228, allocations: 98.09 kB / 1.485 GB, free: 2.664 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.229, allocations: 322 kB / 1.485 GB, free: 2.344 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005185/1.229, allocations: 234.4 kB / 1.485 GB, free: 2.109 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006024/1.23, allocations: 328.3 kB / 1.486 GB, free: 1.766 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/1.231, allocations: 0.5208 MB / 1.486 GB, free: 1.234 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.231, allocations: 7.938 kB / 1.486 GB, free: 1.227 MB / 1.201 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001591/1.232, allocations: 0.7184 MB / 1.487 GB, free: 0.4961 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.232, allocations: 14.03 kB / 1.487 GB, free: 496 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/1.232, allocations: 0 / 1.487 GB, free: 496 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004711/1.233, allocations: 100.7 kB / 1.487 GB, free: 392 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005081/1.233, allocations: 91.86 kB / 1.487 GB, free: 300 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005294/1.234, allocations: 0.6187 MB / 1.488 GB, free: 15.65 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006004/1.235, allocations: 35.95 kB / 1.488 GB, free: 15.61 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.219e-05/1.235, allocations: 27.97 kB / 1.488 GB, free: 15.59 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006734/1.235, allocations: 388.8 kB / 1.488 GB, free: 15.2 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005883/1.236, allocations: 328.4 kB / 1.488 GB, free: 14.85 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009937/1.237, allocations: 0.5091 MB / 1.489 GB, free: 14.34 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/1.237, allocations: 0 / 1.489 GB, free: 14.34 MB / 1.217 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001474/1.238, allocations: 0.6871 MB / 1.49 GB, free: 13.64 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/1.238, allocations: 4 kB / 1.49 GB, free: 13.64 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/1.239, allocations: 8.062 kB / 1.49 GB, free: 13.63 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002727/1.239, allocations: 60.81 kB / 1.49 GB, free: 13.57 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000505/1.239, allocations: 91.86 kB / 1.49 GB, free: 13.48 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/1.241, allocations: 1.873 MB / 1.492 GB, free: 11.46 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006339/1.242, allocations: 39.89 kB / 1.492 GB, free: 11.42 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.335e-05/1.242, allocations: 23.98 kB / 1.492 GB, free: 11.4 MB / 1.217 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.0002408/1.242, allocations: 200.2 kB / 1.492 GB, free: 11.2 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/1.243, allocations: 79.12 kB / 1.492 GB, free: 11.12 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/1.244, allocations: 0.7661 MB / 1.493 GB, free: 10.34 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/1.244, allocations: 7.984 kB / 1.493 GB, free: 10.33 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/1.244, allocations: 0 / 1.493 GB, free: 10.33 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003576/1.245, allocations: 196.1 kB / 1.493 GB, free: 10.12 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/1.245, allocations: 19.98 kB / 1.493 GB, free: 10.1 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005509/1.245, allocations: 27.91 kB / 1.493 GB, free: 10.07 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/1.246, allocations: 44.47 kB / 1.493 GB, free: 10.03 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00159/1.247, allocations: 0.7189 MB / 1.494 GB, free: 9.301 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00188/1.249, allocations: 1.107 MB / 1.495 GB, free: 8.18 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004923/1.25, allocations: 283.3 kB / 1.495 GB, free: 7.906 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006594/1.25, allocations: 471 kB / 1.495 GB, free: 7.449 MB / 1.217 GB Notification: Performance of Backend: time 7.72e-07/1.25, allocations: 0 / 1.495 GB, free: 7.449 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003281/1.253, allocations: 1.225 MB / 1.497 GB, free: 6.211 MB / 1.217 GB Notification: Performance of SimCode: time 0.003444/1.257, allocations: 2.052 MB / 1.499 GB, free: 4.117 MB / 1.217 GB Notification: Performance of Templates: time 0.03857/1.296, allocations: 21.78 MB / 1.52 GB, free: 14.57 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches