Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001628/0.001628, allocations: 106.4 kB / 16.37 MB, free: 6.438 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.001764/0.001764, allocations: 189.1 kB / 17.3 MB, free: 5.781 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.517/1.517, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.528/2.528, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 60.06 kB / 0.8707 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3361, allocations: 151.6 MB / 1.019 GB, free: 9.938 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.9094/1.246, allocations: 239.9 MB / 1.253 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01262/1.258, allocations: 7.155 MB / 1.26 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002479/1.261, allocations: 55.62 kB / 1.26 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001822/1.263, allocations: 0.4967 MB / 1.261 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003867/1.267, allocations: 1.316 MB / 1.262 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004379/1.271, allocations: 1.609 MB / 1.263 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003118/1.274, allocations: 1.94 MB / 1.265 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/1.275, allocations: 0.7894 MB / 1.266 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003654/1.279, allocations: 1.417 MB / 1.267 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/1.28, allocations: 0.6691 MB / 1.268 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001257/1.28, allocations: 72 kB / 1.268 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002941/1.283, allocations: 1.473 MB / 1.27 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000303/1.283, allocations: 295.1 kB / 1.27 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000552/1.284, allocations: 481.7 kB / 1.27 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002512/1.287, allocations: 1.617 MB / 1.272 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/1.287, allocations: 4 kB / 1.272 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/1.287, allocations: 0 / 1.272 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.153e-05/1.287, allocations: 0 / 1.272 GB, free: 5.543 MB / 0.9669 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.002247/1.289, allocations: 1.273 MB / 1.273 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/1.289, allocations: 8.922 kB / 1.273 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/1.291, allocations: 286.5 kB / 1.273 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/1.292, allocations: 0.6906 MB / 1.274 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/1.292, allocations: 37 kB / 1.274 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/1.292, allocations: 59.94 kB / 1.274 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/1.293, allocations: 0.592 MB / 1.275 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/1.293, allocations: 0 / 1.275 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.412e-05/1.293, allocations: 24 kB / 1.275 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/1.293, allocations: 12 kB / 1.275 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/1.294, allocations: 0.6012 MB / 1.275 GB, free: 1.859 MB / 0.9669 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.00397/1.298, allocations: 2.876 MB / 1.278 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006445/1.299, allocations: 398.8 kB / 1.279 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004447/1.299, allocations: 277.3 kB / 1.279 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006763/1.3, allocations: 404.7 kB / 1.279 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/1.3, allocations: 30.89 kB / 1.279 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005575/1.301, allocations: 119.5 kB / 1.279 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=39): time 2.805e-06/1.301, allocations: 0 / 1.279 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39): time 0.001699/1.302, allocations: 0.8107 MB / 1.28 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/1.303, allocations: 59.41 kB / 1.28 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007991/1.303, allocations: 0.6962 MB / 1.281 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/1.303, allocations: 33.7 kB / 1.281 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/1.304, allocations: 360.4 kB / 1.281 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/1.304, allocations: 141.9 kB / 1.281 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/1.304, allocations: 93.97 kB / 1.282 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001125/1.304, allocations: 322 kB / 1.282 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003841/1.304, allocations: 204.6 kB / 1.282 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004837/1.305, allocations: 301 kB / 1.282 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008302/1.306, allocations: 0.4889 MB / 1.283 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/1.306, allocations: 4 kB / 1.283 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001091/1.307, allocations: 0.621 MB / 1.283 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/1.307, allocations: 4 kB / 1.283 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/1.307, allocations: 4 kB / 1.283 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/1.307, allocations: 7.938 kB / 1.283 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005386/1.308, allocations: 103.8 kB / 1.284 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/1.308, allocations: 8.562 kB / 1.284 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005199/1.308, allocations: 31.91 kB / 1.284 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.925e-05/1.308, allocations: 32 kB / 1.284 GB, free: 9.047 MB / 0.9825 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.0002777/1.308, allocations: 216.5 kB / 1.284 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/1.309, allocations: 75.06 kB / 1.284 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/1.31, allocations: 0.6503 MB / 1.285 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/1.31, allocations: 4 kB / 1.285 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/1.31, allocations: 3.938 kB / 1.285 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/1.31, allocations: 3.984 kB / 1.285 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/1.312, allocations: 1.528 MB / 1.286 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.312, allocations: 2.062 kB / 1.286 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004824/1.313, allocations: 92.23 kB / 1.286 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.445e-06/1.313, allocations: 8 kB / 1.286 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/1.313, allocations: 8 kB / 1.286 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/1.313, allocations: 11.98 kB / 1.286 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.79e-06/1.313, allocations: 4 kB / 1.286 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/1.314, allocations: 1.048 MB / 1.287 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003081/1.315, allocations: 196.2 kB / 1.287 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.749e-05/1.315, allocations: 11.98 kB / 1.287 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004852/1.315, allocations: 35.97 kB / 1.287 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/1.315, allocations: 35.89 kB / 1.287 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/1.315, allocations: 16 kB / 1.287 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005921/1.316, allocations: 0.495 MB / 1.288 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/1.316, allocations: 0 / 1.288 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006744/1.317, allocations: 191.8 kB / 1.288 GB, free: 4.25 MB / 0.9825 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.0004912/1.317, allocations: 223.2 kB / 1.288 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009859/1.318, allocations: 0.5117 MB / 1.289 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.318, allocations: 0 / 1.289 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004951/1.319, allocations: 276.7 kB / 1.289 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/1.321, allocations: 468.7 kB / 1.29 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005424/1.326, allocations: 1.78 MB / 1.291 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005367/1.327, allocations: 0.9691 MB / 1.292 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007307/1.327, allocations: 178.4 kB / 1.292 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/1.328, allocations: 63.41 kB / 1.292 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of SimCode: time 1.312e-06/1.328, allocations: 0 / 1.292 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of Templates: time 0.02659/1.354, allocations: 15.73 MB / 1.308 GB, free: 272 kB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches