Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.001169/0.001169, allocations: 117.6 kB / 16.42 MB, free: 6.5 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.001178/0.001178, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.372/1.372, 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 9.1.3-maint.9.1.x/package.mo): time 2.208/2.208, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 67.88 kB / 0.9515 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9699/0.9715, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.2795/1.251, allocations: 239.9 MB / 1.323 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01267/1.264, allocations: 7.209 MB / 1.33 GB, free: 6.371 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001933/1.266, allocations: 55.69 kB / 1.33 GB, free: 6.316 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001958/1.268, allocations: 0.7144 MB / 1.331 GB, free: 5.598 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006028/1.274, allocations: 2.165 MB / 1.333 GB, free: 3.426 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004813/1.279, allocations: 2.071 MB / 1.335 GB, free: 1.363 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004104/1.283, allocations: 3.281 MB / 1.338 GB, free: 14.07 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001425/1.284, allocations: 1.126 MB / 1.339 GB, free: 12.93 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003794/1.288, allocations: 1.853 MB / 1.341 GB, free: 11.07 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/1.29, allocations: 0.9675 MB / 1.342 GB, free: 10.1 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001793/1.29, allocations: 120 kB / 1.342 GB, free: 9.984 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004572/1.294, allocations: 2.498 MB / 1.344 GB, free: 7.48 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004568/1.295, allocations: 466.7 kB / 1.345 GB, free: 7.023 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0008103/1.296, allocations: 0.7155 MB / 1.346 GB, free: 6.305 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003942/1.3, allocations: 2.688 MB / 1.348 GB, free: 3.609 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.3, allocations: 0 / 1.348 GB, free: 3.609 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.693e-06/1.3, allocations: 0 / 1.348 GB, free: 3.609 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.397e-05/1.3, allocations: 0 / 1.348 GB, free: 3.609 MB / 1.076 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.002627/1.302, allocations: 1.705 MB / 1.35 GB, free: 1.852 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/1.302, allocations: 11.97 kB / 1.35 GB, free: 1.84 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002589/1.305, allocations: 429.9 kB / 1.35 GB, free: 1.418 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/1.307, allocations: 1.015 MB / 1.351 GB, free: 368 kB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.932e-05/1.307, allocations: 66 kB / 1.351 GB, free: 300 kB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/1.307, allocations: 80 kB / 1.351 GB, free: 220 kB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/1.308, allocations: 0.8703 MB / 1.352 GB, free: 15.33 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/1.308, allocations: 0 / 1.352 GB, free: 15.33 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.721e-05/1.308, allocations: 28 kB / 1.352 GB, free: 15.3 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.301e-05/1.308, allocations: 30 kB / 1.352 GB, free: 15.28 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/1.31, allocations: 0.808 MB / 1.353 GB, free: 14.47 MB / 1.092 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.004457/1.314, allocations: 3.65 MB / 1.357 GB, free: 10.53 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/1.316, allocations: 1.091 MB / 1.358 GB, free: 9.32 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005669/1.316, allocations: 374.3 kB / 1.358 GB, free: 8.953 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006729/1.317, allocations: 404.9 kB / 1.358 GB, free: 8.484 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/1.317, allocations: 43.11 kB / 1.359 GB, free: 8.434 MB / 1.092 GB Notification: Performance of pre-optimization done (n=60): time 2.524e-06/1.317, allocations: 0 / 1.359 GB, free: 8.434 MB / 1.092 GB Notification: Performance of matching and sorting (n=60): time 0.002008/1.319, allocations: 0.9546 MB / 1.359 GB, free: 7.473 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/1.319, allocations: 63.91 kB / 1.359 GB, free: 7.395 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/1.32, allocations: 0.8361 MB / 1.36 GB, free: 6.535 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.268e-05/1.32, allocations: 41.64 kB / 1.36 GB, free: 6.488 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000373/1.321, allocations: 484.1 kB / 1.361 GB, free: 6.008 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/1.321, allocations: 212.9 kB / 1.361 GB, free: 5.797 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/1.321, allocations: 110.1 kB / 1.361 GB, free: 5.684 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001147/1.321, allocations: 330 kB / 1.361 GB, free: 5.355 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004968/1.322, allocations: 259 kB / 1.362 GB, free: 5.102 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006062/1.322, allocations: 363.5 kB / 1.362 GB, free: 4.711 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/1.323, allocations: 0.593 MB / 1.363 GB, free: 4.105 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.323, allocations: 0 / 1.363 GB, free: 4.105 MB / 1.092 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001413/1.325, allocations: 0.7319 MB / 1.363 GB, free: 3.363 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/1.325, allocations: 10.47 kB / 1.363 GB, free: 3.355 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/1.325, allocations: 4 kB / 1.363 GB, free: 3.352 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/1.325, allocations: 7.938 kB / 1.363 GB, free: 3.344 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005947/1.325, allocations: 127.8 kB / 1.363 GB, free: 3.219 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/1.325, allocations: 3.984 kB / 1.363 GB, free: 3.215 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007958/1.326, allocations: 63.5 kB / 1.364 GB, free: 3.152 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.852e-05/1.326, allocations: 27.98 kB / 1.364 GB, free: 3.125 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008399/1.327, allocations: 0.4893 MB / 1.364 GB, free: 2.633 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000582/1.328, allocations: 363.4 kB / 1.364 GB, free: 2.242 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009746/1.329, allocations: 0.5813 MB / 1.365 GB, free: 1.648 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/1.329, allocations: 0 / 1.365 GB, free: 1.648 MB / 1.092 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001248/1.33, allocations: 0.7204 MB / 1.366 GB, free: 0.918 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/1.33, allocations: 11.94 kB / 1.366 GB, free: 0.9062 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/1.33, allocations: 0 / 1.366 GB, free: 0.9062 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-06/1.33, allocations: 4 kB / 1.366 GB, free: 0.9023 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005405/1.331, allocations: 131.9 kB / 1.366 GB, free: 0.7734 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/1.331, allocations: 4 kB / 1.366 GB, free: 0.7695 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007134/1.331, allocations: 63.55 kB / 1.366 GB, free: 0.707 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.041e-05/1.331, allocations: 20 kB / 1.366 GB, free: 0.6875 MB / 1.092 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.0002316/1.332, allocations: 212.1 kB / 1.366 GB, free: 484 kB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/1.332, allocations: 106.7 kB / 1.366 GB, free: 376 kB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/1.333, allocations: 0.7471 MB / 1.367 GB, free: 15.61 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00114/1.334, allocations: 0.8956 MB / 1.368 GB, free: 14.63 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.334, allocations: 0 / 1.368 GB, free: 14.63 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003995/1.335, allocations: 255.7 kB / 1.368 GB, free: 14.36 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/1.335, allocations: 20 kB / 1.368 GB, free: 14.34 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006173/1.336, allocations: 35.95 kB / 1.368 GB, free: 14.31 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/1.336, allocations: 32.52 kB / 1.368 GB, free: 14.28 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001626/1.337, allocations: 0.811 MB / 1.369 GB, free: 13.46 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001785/1.339, allocations: 1.236 MB / 1.37 GB, free: 12.21 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004986/1.34, allocations: 316.3 kB / 1.37 GB, free: 11.9 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0007226/1.34, allocations: 0.5862 MB / 1.371 GB, free: 11.3 MB / 1.107 GB Notification: Performance of Backend: time 2.8e-07/1.34, allocations: 3.938 kB / 1.371 GB, free: 11.3 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.003364/1.344, allocations: 1.275 MB / 1.372 GB, free: 10.02 MB / 1.107 GB Notification: Performance of SimCode: time 0.00473/1.348, allocations: 2.8 MB / 1.375 GB, free: 7.176 MB / 1.107 GB Notification: Performance of Templates: time 0.04087/1.389, allocations: 27.63 MB / 1.402 GB, free: 11.82 MB / 1.139 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Examples_FlowJunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches