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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.556/2.556, allocations: 393.5 MB / 408.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 186.7 kB / 0.4902 GB, free: 2.246 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.696/1.696, allocations: 223.1 MB / 0.7992 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 99.91 kB / 0.9396 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003716, allocations: 14.19 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2982, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.74/5.038, allocations: 1.929 GB / 3.158 GB, free: 24.66 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/5.038, allocations: 97.28 kB / 3.158 GB, free: 24.61 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.275/8.313, allocations: 0.8017 GB / 3.96 GB, free: 125.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.764e-06/8.313, allocations: 0 / 3.96 GB, free: 125.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001366/8.314, allocations: 23.98 kB / 3.96 GB, free: 125.1 MB / 1.167 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.004509/8.318, allocations: 1.38 MB / 3.961 GB, free: 123.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/8.318, allocations: 15.09 kB / 3.961 GB, free: 123.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002056/8.32, allocations: 282.2 kB / 3.961 GB, free: 123.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002129/8.322, allocations: 0.7572 MB / 3.962 GB, free: 122.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.361e-05/8.322, allocations: 41 kB / 3.962 GB, free: 122.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/8.323, allocations: 52 kB / 3.962 GB, free: 122.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/8.324, allocations: 0.6153 MB / 3.963 GB, free: 121.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/8.324, allocations: 0 / 3.963 GB, free: 121.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.208e-05/8.324, allocations: 23.95 kB / 3.963 GB, free: 121.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/8.324, allocations: 12 kB / 3.963 GB, free: 121.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/8.325, allocations: 0.6246 MB / 3.963 GB, free: 121.2 MB / 1.167 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.003925/8.329, allocations: 2.676 MB / 3.966 GB, free: 118.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009248/8.33, allocations: 0.5318 MB / 3.967 GB, free: 117.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000595/8.331, allocations: 396.7 kB / 3.967 GB, free: 117.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/8.331, allocations: 34.94 kB / 3.967 GB, free: 117.3 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001064/8.332, allocations: 303.4 kB / 3.967 GB, free: 117 MB / 1.167 GB Notification: Performance of pre-optimization done (n=45): time 4.388e-06/8.332, allocations: 0 / 3.967 GB, free: 117 MB / 1.167 GB Notification: Performance of matching and sorting (n=45): time 0.002464/8.334, allocations: 1.16 MB / 3.968 GB, free: 115.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/8.334, allocations: 55.41 kB / 3.968 GB, free: 115.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006884/8.335, allocations: 0.5702 MB / 3.969 GB, free: 115.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.635e-05/8.335, allocations: 37.7 kB / 3.969 GB, free: 115.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/8.335, allocations: 353 kB / 3.969 GB, free: 114.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/8.335, allocations: 153.7 kB / 3.97 GB, free: 114.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/8.335, allocations: 12 kB / 3.97 GB, free: 114.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.965e-05/8.335, allocations: 329.8 kB / 3.97 GB, free: 114.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003959/8.336, allocations: 256.7 kB / 3.97 GB, free: 114 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000502/8.336, allocations: 376.6 kB / 3.97 GB, free: 113.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004456/8.337, allocations: 300.6 kB / 3.971 GB, free: 113.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/8.337, allocations: 0 / 3.971 GB, free: 113.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001233/8.338, allocations: 0.7768 MB / 3.972 GB, free: 112.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-05/8.338, allocations: 268.8 kB / 3.972 GB, free: 112.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/8.338, allocations: 0 / 3.972 GB, free: 112.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002455/8.338, allocations: 60.83 kB / 3.972 GB, free: 112.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004775/8.339, allocations: 99.86 kB / 3.972 GB, free: 112.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004164/8.339, allocations: 0.6343 MB / 3.973 GB, free: 111.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007665/8.34, allocations: 75.83 kB / 3.973 GB, free: 111.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.755e-05/8.34, allocations: 19.98 kB / 3.973 GB, free: 111.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.056e-06/8.34, allocations: 4 kB / 3.973 GB, free: 111.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001065/8.341, allocations: 0.6668 MB / 3.973 GB, free: 110.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-06/8.341, allocations: 0 / 3.973 GB, free: 110.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001975/8.341, allocations: 64.75 kB / 3.973 GB, free: 110.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004414/8.342, allocations: 99.89 kB / 3.973 GB, free: 110.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/8.343, allocations: 1.729 MB / 3.975 GB, free: 108.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007122/8.344, allocations: 75.86 kB / 3.975 GB, free: 108.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.142e-05/8.344, allocations: 19.98 kB / 3.975 GB, free: 108.5 MB / 1.167 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.0004976/8.345, allocations: 305.6 kB / 3.976 GB, free: 108.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/8.345, allocations: 79.06 kB / 3.976 GB, free: 108.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/8.346, allocations: 0.8303 MB / 3.976 GB, free: 107.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/8.346, allocations: 4 kB / 3.976 GB, free: 107.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/8.346, allocations: 0 / 3.976 GB, free: 107.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/8.346, allocations: 7.922 kB / 3.976 GB, free: 107.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002465/8.349, allocations: 1.735 MB / 3.978 GB, free: 105.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/8.349, allocations: 4 kB / 3.978 GB, free: 105.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004357/8.349, allocations: 92.28 kB / 3.978 GB, free: 105.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001618/8.349, allocations: 68.8 kB / 3.978 GB, free: 105.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/8.349, allocations: 19.95 kB / 3.978 GB, free: 105.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002967/8.35, allocations: 0.5913 MB / 3.979 GB, free: 104.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/8.35, allocations: 11.92 kB / 3.979 GB, free: 104.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/8.351, allocations: 1.336 MB / 3.98 GB, free: 103.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003072/8.352, allocations: 208.1 kB / 3.98 GB, free: 102.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.275e-05/8.352, allocations: 19.94 kB / 3.98 GB, free: 102.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006865/8.352, allocations: 91.75 kB / 3.981 GB, free: 102.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/8.353, allocations: 39.91 kB / 3.981 GB, free: 102.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/8.353, allocations: 27.98 kB / 3.981 GB, free: 102.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004934/8.353, allocations: 459 kB / 3.981 GB, free: 102.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/8.353, allocations: 0 / 3.981 GB, free: 102.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002075/8.355, allocations: 0.5932 MB / 3.982 GB, free: 101.7 MB / 1.167 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 (45): * Single equations (assignments): 44 * 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.002772/8.358, allocations: 2.122 MB / 3.984 GB, free: 99.47 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001756/8.36, allocations: 1.049 MB / 3.985 GB, free: 98.41 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/8.36, allocations: 4 kB / 3.985 GB, free: 98.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00048/8.36, allocations: 316.5 kB / 3.985 GB, free: 98.09 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/8.363, allocations: 0.5058 MB / 3.985 GB, free: 97.59 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005126/8.368, allocations: 2.077 MB / 3.988 GB, free: 95.44 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/8.368, allocations: 0.9854 MB / 3.988 GB, free: 94.43 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009538/8.369, allocations: 234 kB / 3.989 GB, free: 94.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/8.369, allocations: 67.42 kB / 3.989 GB, free: 94.13 MB / 1.167 GB Notification: Performance of SimCode: time 7.02e-07/8.369, allocations: 0 / 3.989 GB, free: 94.13 MB / 1.167 GB Notification: Performance of Templates: time 0.05127/8.42, allocations: 40.75 MB / 4.029 GB, free: 53.6 MB / 1.167 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","../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches