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.001193/0.001193, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001155/0.001155, allocations: 173 kB / 23.49 MB, free: 1.062 MB / 18.57 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 0.969/0.969, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 2.18/2.18, allocations: 429.5 MB / 0.6736 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.8782 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/2.991e-05, allocations: 3.125 kB / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.6687/0.6687, allocations: 239.2 MB / 1.112 GB, free: 59.48 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01057/0.6793, allocations: 8.318 MB / 1.12 GB, free: 59.33 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/0.6808, allocations: 82.03 kB / 1.12 GB, free: 59.33 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.6821, allocations: 0.5126 MB / 1.121 GB, free: 59.32 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003058/0.6851, allocations: 1.419 MB / 1.122 GB, free: 59.09 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.004821/0.6899, allocations: 2.112 MB / 1.124 GB, free: 58.91 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003067/0.693, allocations: 2.066 MB / 1.126 GB, free: 58.48 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.6941, allocations: 0.7267 MB / 1.127 GB, free: 58.39 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003781/0.6979, allocations: 2.066 MB / 1.129 GB, free: 58.17 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.699, allocations: 0.6173 MB / 1.129 GB, free: 58.11 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001802/0.6991, allocations: 80.53 kB / 1.129 GB, free: 58.11 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002433/0.7016, allocations: 1.231 MB / 1.131 GB, free: 57.96 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003674/0.7019, allocations: 335.2 kB / 1.131 GB, free: 57.91 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005646/0.7025, allocations: 370 kB / 1.131 GB, free: 57.87 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002549/0.7051, allocations: 1.388 MB / 1.133 GB, free: 57.71 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.7051, allocations: 0 / 1.133 GB, free: 57.71 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7051, allocations: 1.031 kB / 1.133 GB, free: 57.71 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.648e-05/0.7051, allocations: 0 / 1.133 GB, free: 57.71 MB / 1.01 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.002135/0.7072, allocations: 1.381 MB / 1.134 GB, free: 56.89 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.7073, allocations: 12.69 kB / 1.134 GB, free: 56.89 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.7087, allocations: 388.8 kB / 1.134 GB, free: 56.79 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.7099, allocations: 0.7658 MB / 1.135 GB, free: 56.51 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.725e-05/0.71, allocations: 44.5 kB / 1.135 GB, free: 56.51 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.515e-05/0.7101, allocations: 63.94 kB / 1.135 GB, free: 56.51 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007196/0.7108, allocations: 403.8 kB / 1.136 GB, free: 56.47 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.7108, allocations: 4.594 kB / 1.136 GB, free: 56.47 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.225e-05/0.7108, allocations: 20.03 kB / 1.136 GB, free: 56.47 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.7108, allocations: 15.84 kB / 1.136 GB, free: 56.46 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004879/0.7113, allocations: 277.7 kB / 1.136 GB, free: 56.46 MB / 1.01 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.002575/0.7139, allocations: 1.798 MB / 1.138 GB, free: 55.96 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003669/0.7143, allocations: 230.3 kB / 1.138 GB, free: 55.93 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.7145, allocations: 123.6 kB / 1.138 GB, free: 55.91 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003156/0.7148, allocations: 88.44 kB / 1.138 GB, free: 55.91 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.7148, allocations: 40.14 kB / 1.138 GB, free: 55.87 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004742/0.7153, allocations: 159.5 kB / 1.138 GB, free: 55.85 MB / 1.01 GB Notification: Performance of pre-optimization done (n=39): time 3.717e-06/0.7153, allocations: 1.312 kB / 1.138 GB, free: 55.85 MB / 1.01 GB Notification: Performance of matching and sorting (n=39): time 0.0009027/0.7162, allocations: 492.5 kB / 1.139 GB, free: 55.76 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.7162, allocations: 56.36 kB / 1.139 GB, free: 55.7 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000629/0.7168, allocations: 0.6711 MB / 1.139 GB, free: 55.5 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.7169, allocations: 42.08 kB / 1.139 GB, free: 55.46 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/0.7171, allocations: 449 kB / 1.14 GB, free: 55.26 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 8.328e-05/0.7172, allocations: 146 kB / 1.14 GB, free: 55.16 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.7173, allocations: 143.4 kB / 1.14 GB, free: 55.09 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.847e-05/0.7174, allocations: 0.4986 MB / 1.141 GB, free: 54.59 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.7176, allocations: 101.2 kB / 1.141 GB, free: 54.58 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.7179, allocations: 0.6198 MB / 1.141 GB, free: 53.9 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000495/0.7184, allocations: 0.5662 MB / 1.142 GB, free: 53.44 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.7184, allocations: 2.094 kB / 1.142 GB, free: 53.44 MB / 1.01 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007826/0.7192, allocations: 0.569 MB / 1.142 GB, free: 53.27 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.7192, allocations: 12.22 kB / 1.142 GB, free: 53.27 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.7192, allocations: 9.469 kB / 1.143 GB, free: 53.27 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.7192, allocations: 10.44 kB / 1.143 GB, free: 53.27 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003986/0.7196, allocations: 145.3 kB / 1.143 GB, free: 53.27 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.7197, allocations: 15.25 kB / 1.143 GB, free: 53.27 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.72, allocations: 33.14 kB / 1.143 GB, free: 53.25 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-05/0.72, allocations: 37.09 kB / 1.143 GB, free: 53.25 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (73): * Single equations (assignments): 73 * 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.000165/0.7202, allocations: 200.9 kB / 1.143 GB, free: 53.07 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.7203, allocations: 99.33 kB / 1.143 GB, free: 53.01 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006296/0.7209, allocations: 435 kB / 1.143 GB, free: 52.85 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.7209, allocations: 6.219 kB / 1.143 GB, free: 52.85 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7209, allocations: 0 / 1.143 GB, free: 52.85 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.7209, allocations: 3.25 kB / 1.143 GB, free: 52.85 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.7223, allocations: 1.114 MB / 1.145 GB, free: 52.18 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.7223, allocations: 7.5 kB / 1.145 GB, free: 52.18 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.7226, allocations: 77.56 kB / 1.145 GB, free: 52.18 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.7226, allocations: 6.375 kB / 1.145 GB, free: 52.18 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.7226, allocations: 16.12 kB / 1.145 GB, free: 52.17 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.7226, allocations: 10.28 kB / 1.145 GB, free: 52.17 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.7227, allocations: 10.88 kB / 1.145 GB, free: 52.16 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007366/0.7234, allocations: 0.7087 MB / 1.145 GB, free: 51.69 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.7236, allocations: 118.7 kB / 1.145 GB, free: 51.62 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.961e-05/0.7236, allocations: 12.34 kB / 1.145 GB, free: 51.62 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.7239, allocations: 21.95 kB / 1.145 GB, free: 51.61 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.023e-05/0.7239, allocations: 40.25 kB / 1.146 GB, free: 51.61 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/0.724, allocations: 17.27 kB / 1.146 GB, free: 51.6 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004017/0.7244, allocations: 429.8 kB / 1.146 GB, free: 51.41 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7244, allocations: 0 / 1.146 GB, free: 51.41 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007628/0.7251, allocations: 232.8 kB / 1.146 GB, free: 51.36 MB / 1.01 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.0003295/0.7255, allocations: 205.5 kB / 1.146 GB, free: 51.26 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005902/0.726, allocations: 355.6 kB / 1.147 GB, free: 51.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.7261, allocations: 2.219 kB / 1.147 GB, free: 51.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.7263, allocations: 151.3 kB / 1.147 GB, free: 51.17 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.7274, allocations: 399.9 kB / 1.147 GB, free: 51.07 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/0.7311, allocations: 1.777 MB / 1.149 GB, free: 50.12 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.7312, allocations: 182 kB / 1.149 GB, free: 50.04 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005214/0.7318, allocations: 150.4 kB / 1.149 GB, free: 50 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.7319, allocations: 64.66 kB / 1.149 GB, free: 49.99 MB / 1.01 GB Notification: Performance of SimCode: time 1.994e-06/0.7319, allocations: 0 / 1.149 GB, free: 49.99 MB / 1.01 GB Notification: Performance of Templates: time 0.01974/0.7517, allocations: 14.4 MB / 1.163 GB, free: 48.45 MB / 1.01 GB " [Timeout remaining time 299] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.414534128038213]