Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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_9_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_9_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.001035/0.001035, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001312/0.001312, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.719/2.719, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003668, allocations: 8 kB / 0.8153 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9294/0.9298, allocations: 142.4 MB / 0.9544 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.2536/1.183, allocations: 218.8 MB / 1.168 GB, free: 4.133 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0114/1.195, allocations: 6.815 MB / 1.175 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001719/1.197, allocations: 43.69 kB / 1.175 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/1.198, allocations: 341.7 kB / 1.175 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002815/1.201, allocations: 1.011 MB / 1.176 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00357/1.204, allocations: 1.24 MB / 1.177 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002979/1.207, allocations: 2.361 MB / 1.18 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009799/1.208, allocations: 0.6286 MB / 1.18 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002951/1.211, allocations: 1.167 MB / 1.181 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009832/1.212, allocations: 0.6537 MB / 1.182 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.275e-05/1.212, allocations: 44 kB / 1.182 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002636/1.215, allocations: 1.072 MB / 1.183 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000298/1.215, allocations: 267.1 kB / 1.183 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002962/1.216, allocations: 193.3 kB / 1.184 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001563/1.217, allocations: 1.146 MB / 1.185 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/1.217, allocations: 0 / 1.185 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.823e-06/1.217, allocations: 4 kB / 1.185 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.303e-05/1.217, allocations: 0 / 1.185 GB, free: 3.121 MB / 0.9356 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.002211/1.219, allocations: 1.16 MB / 1.186 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/1.219, allocations: 12.03 kB / 1.186 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001673/1.221, allocations: 278.6 kB / 1.186 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/1.222, allocations: 0.6328 MB / 1.187 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.027e-05/1.222, allocations: 45 kB / 1.187 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.491e-05/1.222, allocations: 59.91 kB / 1.187 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/1.224, allocations: 0.6037 MB / 1.187 GB, free: 240 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/1.224, allocations: 4 kB / 1.187 GB, free: 236 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.433e-05/1.224, allocations: 27.95 kB / 1.187 GB, free: 208 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/1.224, allocations: 15.88 kB / 1.187 GB, free: 192 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/1.225, allocations: 0.6324 MB / 1.188 GB, free: 15.55 MB / 0.9512 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.003638/1.228, allocations: 2.618 MB / 1.191 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009215/1.229, allocations: 483.9 kB / 1.191 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005132/1.23, allocations: 329.4 kB / 1.191 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006924/1.231, allocations: 420.7 kB / 1.192 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/1.231, allocations: 41.88 kB / 1.192 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006891/1.231, allocations: 191.5 kB / 1.192 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 3.337e-06/1.231, allocations: 0 / 1.192 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.002601/1.234, allocations: 1.112 MB / 1.193 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/1.234, allocations: 55.41 kB / 1.193 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008729/1.235, allocations: 0.6491 MB / 1.194 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.075e-05/1.235, allocations: 33.7 kB / 1.194 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/1.235, allocations: 349.1 kB / 1.194 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/1.235, allocations: 157.7 kB / 1.194 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/1.235, allocations: 12 kB / 1.194 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001155/1.236, allocations: 321.9 kB / 1.195 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004374/1.236, allocations: 228.7 kB / 1.195 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005116/1.237, allocations: 324.3 kB / 1.195 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004629/1.237, allocations: 252.7 kB / 1.195 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.237, allocations: 0 / 1.195 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001423/1.238, allocations: 0.7222 MB / 1.196 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.49e-05/1.239, allocations: 112.5 kB / 1.196 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/1.239, allocations: 0 / 1.196 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004293/1.239, allocations: 92.8 kB / 1.196 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004632/1.239, allocations: 99.8 kB / 1.196 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000528/1.24, allocations: 0.6187 MB / 1.197 GB, free: 5.941 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006757/1.241, allocations: 63.94 kB / 1.197 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.066e-05/1.241, allocations: 27.97 kB / 1.197 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/1.241, allocations: 4 kB / 1.197 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001155/1.242, allocations: 0.5888 MB / 1.198 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/1.242, allocations: 0 / 1.198 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001979/1.242, allocations: 68.77 kB / 1.198 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004407/1.243, allocations: 91.88 kB / 1.198 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/1.244, allocations: 1.702 MB / 1.199 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006999/1.245, allocations: 60 kB / 1.2 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.407e-05/1.245, allocations: 23.98 kB / 1.2 GB, free: 3.176 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004859/1.246, allocations: 301.4 kB / 1.2 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/1.246, allocations: 79 kB / 1.2 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/1.247, allocations: 0.7738 MB / 1.201 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/1.247, allocations: 8 kB / 1.201 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/1.248, allocations: 0 / 1.201 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/1.248, allocations: 3.984 kB / 1.201 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00288/1.25, allocations: 1.677 MB / 1.202 GB, free: 216 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/1.25, allocations: 4 kB / 1.202 GB, free: 212 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004512/1.251, allocations: 91.81 kB / 1.202 GB, free: 120 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000197/1.251, allocations: 64.81 kB / 1.202 GB, free: 52 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.723e-05/1.251, allocations: 19.94 kB / 1.203 GB, free: 32 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004495/1.252, allocations: 0.6149 MB / 1.203 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.252, allocations: 4 kB / 1.203 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/1.253, allocations: 1.192 MB / 1.204 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003789/1.254, allocations: 204.1 kB / 1.204 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/1.254, allocations: 16 kB / 1.204 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006587/1.255, allocations: 71.78 kB / 1.205 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/1.255, allocations: 43.84 kB / 1.205 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.512e-05/1.255, allocations: 23.98 kB / 1.205 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006469/1.256, allocations: 459 kB / 1.205 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/1.256, allocations: 0 / 1.205 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001352/1.257, allocations: 383.4 kB / 1.205 GB, free: 12.95 MB / 0.9669 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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005652/1.257, allocations: 225.6 kB / 1.206 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001993/1.259, allocations: 0.9865 MB / 1.207 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.259, allocations: 4.062 kB / 1.207 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006065/1.26, allocations: 309.6 kB / 1.207 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00227/1.262, allocations: 468.1 kB / 1.207 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005456/1.268, allocations: 2.069 MB / 1.209 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006186/1.269, allocations: 0.9698 MB / 1.21 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001043/1.27, allocations: 237.9 kB / 1.211 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/1.27, allocations: 63.36 kB / 1.211 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of SimCode: time 1.022e-06/1.27, allocations: 4 kB / 1.211 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of Templates: time 0.03012/1.3, allocations: 15.37 MB / 1.226 GB, free: 8.402 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches