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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00108/0.001079, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.001324/0.001324, allocations: 181.9 kB / 16.28 MB, free: 6.656 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.441/1.441, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.812/2.812, allocations: 462.7 MB / 0.7364 GB, free: 256 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0006112/0.0006112, allocations: 14.22 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3663, allocations: 159.6 MB / 1.059 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.8986/1.265, allocations: 234.6 MB / 1.288 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01342/1.278, allocations: 7.163 MB / 1.295 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002057/1.281, allocations: 45.38 kB / 1.295 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001446/1.282, allocations: 418.2 kB / 1.295 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003607/1.286, allocations: 1.238 MB / 1.296 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004477/1.29, allocations: 1.475 MB / 1.298 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004461/1.295, allocations: 2.705 MB / 1.3 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/1.296, allocations: 0.6631 MB / 1.301 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003336/1.299, allocations: 1.284 MB / 1.302 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/1.3, allocations: 0.6775 MB / 1.303 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001043/1.3, allocations: 42 kB / 1.303 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003423/1.304, allocations: 1.751 MB / 1.305 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003661/1.304, allocations: 259.3 kB / 1.305 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000688/1.305, allocations: 465 kB / 1.305 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002706/1.307, allocations: 1.672 MB / 1.307 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.307, allocations: 8.531 kB / 1.307 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.713e-06/1.307, allocations: 0 / 1.307 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.113e-05/1.308, allocations: 0 / 1.307 GB, free: 2.035 MB / 0.9981 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/1.31, allocations: 1.106 MB / 1.308 GB, free: 17.34 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/1.31, allocations: 10.06 kB / 1.308 GB, free: 17.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/1.311, allocations: 280.2 kB / 1.308 GB, free: 17.29 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/1.312, allocations: 0.6595 MB / 1.309 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/1.312, allocations: 38.22 kB / 1.309 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/1.313, allocations: 53.53 kB / 1.309 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/1.314, allocations: 0.6019 MB / 1.31 GB, free: 16.94 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/1.314, allocations: 9.125 kB / 1.31 GB, free: 16.93 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.988e-05/1.314, allocations: 22.03 kB / 1.31 GB, free: 16.93 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/1.314, allocations: 12.16 kB / 1.31 GB, free: 16.93 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/1.315, allocations: 0.6218 MB / 1.31 GB, free: 16.92 MB / 1.014 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.003764/1.319, allocations: 2.893 MB / 1.313 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/1.319, allocations: 421.9 kB / 1.314 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004649/1.32, allocations: 286.6 kB / 1.314 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000696/1.321, allocations: 416.3 kB / 1.314 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/1.321, allocations: 36.45 kB / 1.314 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007354/1.321, allocations: 189 kB / 1.315 GB, free: 15 MB / 1.014 GB Notification: Performance of pre-optimization done (n=39): time 2.304e-06/1.321, allocations: 0 / 1.315 GB, free: 15 MB / 1.014 GB Notification: Performance of matching and sorting (n=39): time 0.001779/1.323, allocations: 0.8336 MB / 1.315 GB, free: 14.91 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/1.323, allocations: 54.97 kB / 1.315 GB, free: 14.84 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008674/1.324, allocations: 0.694 MB / 1.316 GB, free: 14.72 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/1.324, allocations: 35.58 kB / 1.316 GB, free: 14.68 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/1.324, allocations: 363.2 kB / 1.316 GB, free: 14.56 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.658e-05/1.325, allocations: 138.4 kB / 1.317 GB, free: 14.47 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-05/1.325, allocations: 39.72 kB / 1.317 GB, free: 14.45 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.325, allocations: 322.1 kB / 1.317 GB, free: 14.15 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00038/1.325, allocations: 212 kB / 1.317 GB, free: 14.14 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004356/1.326, allocations: 303.9 kB / 1.317 GB, free: 14.07 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00081/1.326, allocations: 0.504 MB / 1.318 GB, free: 14.01 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.326, allocations: 0 / 1.318 GB, free: 14.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001135/1.328, allocations: 0.6204 MB / 1.319 GB, free: 13.92 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/1.328, allocations: 9.219 kB / 1.319 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/1.328, allocations: 1.781 kB / 1.319 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/1.328, allocations: 2.688 kB / 1.319 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000511/1.328, allocations: 104.8 kB / 1.319 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/1.328, allocations: 9.469 kB / 1.319 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007434/1.329, allocations: 65.27 kB / 1.319 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.792e-05/1.329, allocations: 21.22 kB / 1.319 GB, free: 13.91 MB / 1.014 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.0003131/1.329, allocations: 224.3 kB / 1.319 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/1.329, allocations: 76.19 kB / 1.319 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/1.331, allocations: 0.6547 MB / 1.32 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/1.331, allocations: 4.781 kB / 1.32 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.331, allocations: 1.859 kB / 1.32 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.331, allocations: 0 / 1.32 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/1.333, allocations: 1.52 MB / 1.321 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/1.333, allocations: 6.172 kB / 1.321 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/1.334, allocations: 95.64 kB / 1.321 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/1.334, allocations: 5.5 kB / 1.321 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/1.334, allocations: 15.97 kB / 1.321 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/1.334, allocations: 13.06 kB / 1.321 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.334, allocations: 5.812 kB / 1.321 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/1.335, allocations: 1.055 MB / 1.322 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003478/1.336, allocations: 192.2 kB / 1.322 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/1.336, allocations: 12.39 kB / 1.323 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000556/1.336, allocations: 64.09 kB / 1.323 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.162e-05/1.336, allocations: 34.23 kB / 1.323 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/1.336, allocations: 15.25 kB / 1.323 GB, free: 12.79 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006198/1.337, allocations: 0.495 MB / 1.323 GB, free: 12.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.31e-07/1.337, allocations: 0 / 1.323 GB, free: 12.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007801/1.338, allocations: 194.2 kB / 1.323 GB, free: 12.68 MB / 1.014 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.0006516/1.338, allocations: 227.3 kB / 1.324 GB, free: 12.55 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001177/1.34, allocations: 0.5122 MB / 1.324 GB, free: 12.54 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.34, allocations: 0 / 1.324 GB, free: 12.54 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005547/1.34, allocations: 282.1 kB / 1.324 GB, free: 12.54 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002954/1.343, allocations: 483.2 kB / 1.325 GB, free: 12.5 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005631/1.349, allocations: 2.078 MB / 1.327 GB, free: 11.48 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005468/1.349, allocations: 0.967 MB / 1.328 GB, free: 10.76 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008233/1.35, allocations: 175.2 kB / 1.328 GB, free: 10.71 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/1.35, allocations: 62.83 kB / 1.328 GB, free: 10.7 MB / 1.014 GB Notification: Performance of SimCode: time 9.82e-07/1.35, allocations: 0 / 1.328 GB, free: 10.7 MB / 1.014 GB Notification: Performance of Templates: time 0.02749/1.378, allocations: 15.05 MB / 1.343 GB, free: 7.484 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches