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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002209/0.002209, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.533/1.533, allocations: 230.6 MB / 256 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.324/3.324, allocations: 0.505 GB / 0.8101 GB, free: 22.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 67.55 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3587, allocations: 180.2 MB / 1.353 GB, free: 8.48 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.2854/0.644, allocations: 244.7 MB / 1.592 GB, free: 2.926 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.01238/0.6564, allocations: 7.196 MB / 1.599 GB, free: 11.71 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00165/0.6581, allocations: 75.31 kB / 1.599 GB, free: 11.64 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.6597, allocations: 0.524 MB / 1.599 GB, free: 11.11 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.00375/0.6635, allocations: 1.371 MB / 1.601 GB, free: 9.738 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.004469/0.6679, allocations: 1.686 MB / 1.602 GB, free: 8.055 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.003097/0.671, allocations: 1.963 MB / 1.604 GB, free: 6.086 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.6722, allocations: 0.6612 MB / 1.605 GB, free: 5.41 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003955/0.6762, allocations: 1.717 MB / 1.607 GB, free: 3.688 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.6777, allocations: 0.7004 MB / 1.607 GB, free: 2.984 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0002594/0.6779, allocations: 76 kB / 1.607 GB, free: 2.91 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00322/0.6811, allocations: 1.586 MB / 1.609 GB, free: 1.32 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0004056/0.6815, allocations: 310.9 kB / 1.609 GB, free: 1.016 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.0006515/0.6822, allocations: 485.7 kB / 1.61 GB, free: 0.5391 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.7808/1.463, allocations: 1.638 MB / 1.611 GB, free: 27.81 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/1.463, allocations: 0.9375 kB / 1.611 GB, free: 27.81 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.024e-06/1.463, allocations: 1.031 kB / 1.611 GB, free: 27.81 MB / 1.295 GB Notification: Performance of Transformations before backend: time 2.654e-05/1.463, allocations: 0.5625 kB / 1.611 GB, free: 27.81 MB / 1.295 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.002549/1.466, allocations: 1.188 MB / 1.612 GB, free: 27.16 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/1.466, allocations: 9.406 kB / 1.612 GB, free: 27.16 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001364/1.466, allocations: 88.91 kB / 1.613 GB, free: 27.12 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001821/1.468, allocations: 285 kB / 1.613 GB, free: 27.07 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/1.469, allocations: 0.6456 MB / 1.613 GB, free: 26.82 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.544e-05/1.469, allocations: 39.94 kB / 1.613 GB, free: 26.82 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/1.469, allocations: 51.92 kB / 1.614 GB, free: 26.82 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/1.471, allocations: 0.6085 MB / 1.614 GB, free: 26.79 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/1.471, allocations: 3.188 kB / 1.614 GB, free: 26.79 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.863e-05/1.471, allocations: 22.75 kB / 1.614 GB, free: 26.79 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/1.471, allocations: 11.22 kB / 1.614 GB, free: 26.79 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/1.472, allocations: 0.6222 MB / 1.615 GB, free: 26.79 MB / 1.295 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.004146/1.476, allocations: 2.838 MB / 1.618 GB, free: 25.46 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007264/1.477, allocations: 382.6 kB / 1.618 GB, free: 25.43 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005249/1.477, allocations: 262.1 kB / 1.618 GB, free: 25.42 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005994/1.478, allocations: 97.78 kB / 1.618 GB, free: 25.42 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/1.478, allocations: 38.17 kB / 1.618 GB, free: 25.38 MB / 1.295 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008235/1.479, allocations: 153 kB / 1.618 GB, free: 25.36 MB / 1.295 GB Notification: Performance of pre-optimization done (n=39): time 2.545e-06/1.479, allocations: 1.906 kB / 1.618 GB, free: 25.36 MB / 1.295 GB Notification: Performance of matching and sorting (n=39): time 0.001999/1.481, allocations: 0.8152 MB / 1.619 GB, free: 25.27 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/1.481, allocations: 57.14 kB / 1.619 GB, free: 25.21 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/1.482, allocations: 0.7039 MB / 1.62 GB, free: 25.08 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/1.482, allocations: 31.52 kB / 1.62 GB, free: 25.05 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/1.482, allocations: 369.5 kB / 1.62 GB, free: 24.92 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/1.482, allocations: 147.8 kB / 1.62 GB, free: 24.83 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/1.483, allocations: 99.34 kB / 1.621 GB, free: 24.81 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 6.542e-05/1.483, allocations: 319.2 kB / 1.621 GB, free: 24.5 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000435/1.483, allocations: 210.1 kB / 1.621 GB, free: 24.5 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004965/1.484, allocations: 299.1 kB / 1.621 GB, free: 24.43 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008765/1.484, allocations: 0.5016 MB / 1.622 GB, free: 24.38 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.484, allocations: 2.188 kB / 1.622 GB, free: 24.38 MB / 1.295 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00115/1.486, allocations: 0.6145 MB / 1.622 GB, free: 24.29 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/1.486, allocations: 5.594 kB / 1.622 GB, free: 24.29 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/1.486, allocations: 2.188 kB / 1.622 GB, free: 24.29 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/1.486, allocations: 6.594 kB / 1.622 GB, free: 24.29 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005581/1.486, allocations: 103.3 kB / 1.623 GB, free: 24.29 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/1.486, allocations: 4.203 kB / 1.623 GB, free: 24.29 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005637/1.487, allocations: 31.83 kB / 1.623 GB, free: 24.29 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.694e-05/1.487, allocations: 22.52 kB / 1.623 GB, free: 24.29 MB / 1.295 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.0002484/1.487, allocations: 225.8 kB / 1.623 GB, free: 24.18 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/1.487, allocations: 83.17 kB / 1.623 GB, free: 24.13 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/1.488, allocations: 0.6624 MB / 1.624 GB, free: 24.07 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/1.488, allocations: 7.844 kB / 1.624 GB, free: 24.07 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.488, allocations: 6 kB / 1.624 GB, free: 24.07 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/1.488, allocations: 2.859 kB / 1.624 GB, free: 24.07 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002472/1.491, allocations: 1.492 MB / 1.625 GB, free: 23.69 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/1.491, allocations: 3.156 kB / 1.625 GB, free: 23.69 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005173/1.491, allocations: 85.72 kB / 1.625 GB, free: 23.69 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/1.491, allocations: 4.969 kB / 1.625 GB, free: 23.69 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-05/1.492, allocations: 11.84 kB / 1.625 GB, free: 23.69 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/1.492, allocations: 8.734 kB / 1.625 GB, free: 23.69 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/1.492, allocations: 4.625 kB / 1.625 GB, free: 23.69 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/1.493, allocations: 1.061 MB / 1.626 GB, free: 23.39 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003372/1.494, allocations: 124.7 kB / 1.626 GB, free: 23.35 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/1.494, allocations: 11.44 kB / 1.626 GB, free: 23.35 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005046/1.494, allocations: 31.98 kB / 1.626 GB, free: 23.35 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/1.495, allocations: 40.25 kB / 1.626 GB, free: 23.34 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/1.495, allocations: 12.72 kB / 1.626 GB, free: 23.34 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0008426/1.495, allocations: 0.4985 MB / 1.627 GB, free: 23.25 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.01e-07/1.495, allocations: 0.5 kB / 1.627 GB, free: 23.25 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0008825/1.496, allocations: 199.1 kB / 1.627 GB, free: 23.24 MB / 1.295 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.001978/1.498, allocations: 1.692 MB / 1.629 GB, free: 22.41 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001033/1.499, allocations: 495.5 kB / 1.629 GB, free: 22.41 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.499, allocations: 0 / 1.629 GB, free: 22.41 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0004992/1.5, allocations: 268.8 kB / 1.629 GB, free: 22.41 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/1.502, allocations: 470.2 kB / 1.63 GB, free: 22.36 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/1.513, allocations: 6.469 MB / 1.636 GB, free: 20.32 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004549/1.513, allocations: 0.9673 MB / 1.637 GB, free: 19.62 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0007816/1.514, allocations: 170.2 kB / 1.637 GB, free: 19.61 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004001/1.515, allocations: 285.8 kB / 1.638 GB, free: 19.6 MB / 1.295 GB Notification: Performance of SimCode: time 7.42e-07/1.515, allocations: 0 / 1.638 GB, free: 19.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06312/1.578, allocations: 23.57 MB / 1.661 GB, free: 17.86 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/14.04, allocations: 4 kB / 1.661 GB, free: 17.86 MB / 1.295 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.099826032062992]