Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.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.FlowJunctionSteadyStateNoPressureDrop,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.FlowJunctionSteadyStateNoPressureDrop") translateModel(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,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.FlowJunctionSteadyStateNoPressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 104.9 kB / 16.35 MB, free: 5.902 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.001266/0.001266, allocations: 193.9 kB / 17.29 MB, free: 5.523 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.53/1.53, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.269/2.269, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 64.77 kB / 0.814 GB, free: 32.83 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3257, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.9569/1.283, allocations: 239.9 MB / 1.185 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01325/1.296, allocations: 7.151 MB / 1.192 GB, free: 8.121 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002767/1.299, allocations: 51.38 kB / 1.192 GB, free: 8.102 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001734/1.3, allocations: 0.5091 MB / 1.193 GB, free: 7.777 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00433/1.305, allocations: 1.309 MB / 1.194 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004925/1.31, allocations: 1.608 MB / 1.196 GB, free: 6.25 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004373/1.314, allocations: 1.939 MB / 1.198 GB, free: 5.246 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00153/1.316, allocations: 0.8014 MB / 1.198 GB, free: 4.727 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004978/1.321, allocations: 1.413 MB / 1.2 GB, free: 3.844 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/1.322, allocations: 0.6654 MB / 1.2 GB, free: 3.441 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/1.322, allocations: 73.69 kB / 1.201 GB, free: 3.441 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00364/1.326, allocations: 1.471 MB / 1.202 GB, free: 2.629 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000484/1.326, allocations: 297.5 kB / 1.202 GB, free: 2.418 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007842/1.327, allocations: 475 kB / 1.203 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003363/1.33, allocations: 1.627 MB / 1.204 GB, free: 1.09 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/1.33, allocations: 0 / 1.204 GB, free: 1.09 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.266e-06/1.33, allocations: 0 / 1.204 GB, free: 1.09 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.514e-05/1.33, allocations: 4 kB / 1.204 GB, free: 1.086 MB / 0.8731 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.002679/1.333, allocations: 1.259 MB / 1.206 GB, free: 116 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/1.333, allocations: 10.28 kB / 1.206 GB, free: 116 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001909/1.335, allocations: 276 kB / 1.206 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/1.337, allocations: 0.7117 MB / 1.206 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/1.337, allocations: 38.34 kB / 1.207 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/1.337, allocations: 49.75 kB / 1.207 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/1.338, allocations: 0.5971 MB / 1.207 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/1.338, allocations: 0 / 1.207 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.696e-05/1.338, allocations: 18.81 kB / 1.207 GB, free: 15 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/1.338, allocations: 13.34 kB / 1.207 GB, free: 15 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/1.339, allocations: 0.603 MB / 1.208 GB, free: 14.7 MB / 0.8887 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.004278/1.343, allocations: 2.874 MB / 1.211 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006619/1.344, allocations: 394.3 kB / 1.211 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004418/1.345, allocations: 278.9 kB / 1.211 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006678/1.345, allocations: 401.6 kB / 1.212 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/1.345, allocations: 41.7 kB / 1.212 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006047/1.346, allocations: 112.7 kB / 1.212 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=39): time 2.074e-06/1.346, allocations: 0 / 1.212 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of matching and sorting (n=39): time 0.001812/1.348, allocations: 0.8187 MB / 1.213 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/1.348, allocations: 54.69 kB / 1.213 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008255/1.349, allocations: 0.6992 MB / 1.213 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.56e-05/1.349, allocations: 32.14 kB / 1.213 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/1.349, allocations: 362.7 kB / 1.214 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/1.349, allocations: 142.8 kB / 1.214 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/1.349, allocations: 83.42 kB / 1.214 GB, free: 9.98 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.349, allocations: 330.7 kB / 1.214 GB, free: 9.656 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/1.35, allocations: 204.3 kB / 1.214 GB, free: 9.559 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000508/1.35, allocations: 309.1 kB / 1.215 GB, free: 9.352 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009276/1.351, allocations: 0.4982 MB / 1.215 GB, free: 9.062 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/1.351, allocations: 0 / 1.215 GB, free: 9.062 MB / 0.8887 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001142/1.352, allocations: 0.6098 MB / 1.216 GB, free: 8.742 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/1.352, allocations: 9.344 kB / 1.216 GB, free: 8.742 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/1.352, allocations: 4.156 kB / 1.216 GB, free: 8.738 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/1.352, allocations: 2.781 kB / 1.216 GB, free: 8.738 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005513/1.353, allocations: 98.36 kB / 1.216 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/1.353, allocations: 16.17 kB / 1.216 GB, free: 8.699 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005989/1.354, allocations: 31.06 kB / 1.216 GB, free: 8.684 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.1e-05/1.354, allocations: 23.58 kB / 1.216 GB, free: 8.676 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (46): * Single equations (assignments): 46 * 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.0003214/1.354, allocations: 217 kB / 1.216 GB, free: 8.496 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/1.354, allocations: 83.19 kB / 1.216 GB, free: 8.453 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/1.355, allocations: 0.6461 MB / 1.217 GB, free: 8.074 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/1.356, allocations: 2.688 kB / 1.217 GB, free: 8.074 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/1.356, allocations: 6.125 kB / 1.217 GB, free: 8.07 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/1.356, allocations: 0 / 1.217 GB, free: 8.07 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/1.358, allocations: 1.53 MB / 1.218 GB, free: 6.973 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/1.358, allocations: 2.625 kB / 1.218 GB, free: 6.973 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004697/1.358, allocations: 81.33 kB / 1.218 GB, free: 6.957 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/1.359, allocations: 6.781 kB / 1.218 GB, free: 6.957 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/1.359, allocations: 23.28 kB / 1.218 GB, free: 6.941 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/1.359, allocations: 7.391 kB / 1.218 GB, free: 6.938 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.359, allocations: 4.875 kB / 1.218 GB, free: 6.938 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/1.36, allocations: 1.05 MB / 1.22 GB, free: 6.254 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003363/1.361, allocations: 193.7 kB / 1.22 GB, free: 6.082 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.74e-05/1.361, allocations: 13.17 kB / 1.22 GB, free: 6.074 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005081/1.361, allocations: 26.94 kB / 1.22 GB, free: 6.062 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/1.361, allocations: 44.78 kB / 1.22 GB, free: 6.035 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/1.361, allocations: 15.2 kB / 1.22 GB, free: 6.031 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006341/1.362, allocations: 497.8 kB / 1.22 GB, free: 5.758 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/1.362, allocations: 0 / 1.22 GB, free: 5.758 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006831/1.363, allocations: 201.7 kB / 1.22 GB, free: 5.723 MB / 0.8887 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.0005439/1.363, allocations: 218.2 kB / 1.221 GB, free: 5.578 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001008/1.364, allocations: 0.513 MB / 1.221 GB, free: 5.332 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.364, allocations: 3.219 kB / 1.221 GB, free: 5.332 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005045/1.365, allocations: 274.7 kB / 1.221 GB, free: 5.207 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/1.367, allocations: 488.5 kB / 1.222 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005506/1.372, allocations: 1.783 MB / 1.224 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006032/1.373, allocations: 0.9567 MB / 1.225 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0007385/1.374, allocations: 175.6 kB / 1.225 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/1.374, allocations: 69.88 kB / 1.225 GB, free: 2.934 MB / 0.8887 GB Notification: Performance of SimCode: time 8.51e-07/1.374, allocations: 3.938 kB / 1.225 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of Templates: time 0.02783/1.402, allocations: 15.72 MB / 1.24 GB, free: 8.344 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches