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.001808/0.001808, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002222/0.002222, allocations: 218.8 kB / 22.25 MB, free: 4.852 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 7.809 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.236/3.236, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.002041/0.002041, allocations: 66.31 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3589, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.2575/0.6164, allocations: 213.2 MB / 1.572 GB, free: 8.066 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.01204/0.6284, allocations: 6.733 MB / 1.578 GB, free: 1.324 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.6298, allocations: 79.31 kB / 1.578 GB, free: 1.246 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.6313, allocations: 0.5006 MB / 1.579 GB, free: 0.7422 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.003323/0.6346, allocations: 1.346 MB / 1.58 GB, free: 15.39 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.003977/0.6386, allocations: 1.632 MB / 1.582 GB, free: 13.76 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.002873/0.6414, allocations: 1.954 MB / 1.584 GB, free: 11.8 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001179/0.6426, allocations: 0.6611 MB / 1.584 GB, free: 11.12 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003809/0.6464, allocations: 1.713 MB / 1.586 GB, free: 9.406 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.6475, allocations: 0.6574 MB / 1.587 GB, free: 8.746 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.6476, allocations: 76 kB / 1.587 GB, free: 8.672 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.6499, allocations: 1.2 MB / 1.588 GB, free: 7.469 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0003167/0.6503, allocations: 303 kB / 1.588 GB, free: 7.172 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.0004494/0.6507, allocations: 398.2 kB / 1.588 GB, free: 6.781 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.00221/0.6529, allocations: 1.608 MB / 1.59 GB, free: 5.168 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6529, allocations: 0 / 1.59 GB, free: 5.168 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6529, allocations: 0 / 1.59 GB, free: 5.168 MB / 1.279 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.6529, allocations: 0 / 1.59 GB, free: 5.168 MB / 1.279 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.002245/0.6552, allocations: 1.184 MB / 1.591 GB, free: 3.949 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.6552, allocations: 12.03 kB / 1.591 GB, free: 3.938 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001186/0.6553, allocations: 86.52 kB / 1.591 GB, free: 3.844 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/0.657, allocations: 291.1 kB / 1.592 GB, free: 3.559 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.6583, allocations: 0.6463 MB / 1.592 GB, free: 2.887 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.29e-05/0.6583, allocations: 41 kB / 1.592 GB, free: 2.844 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-05/0.6584, allocations: 48 kB / 1.592 GB, free: 2.797 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.6596, allocations: 0.6115 MB / 1.593 GB, free: 2.184 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.6596, allocations: 0 / 1.593 GB, free: 2.184 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.856e-05/0.6596, allocations: 24 kB / 1.593 GB, free: 2.16 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.6596, allocations: 12 kB / 1.593 GB, free: 2.148 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.6609, allocations: 0.6207 MB / 1.593 GB, free: 1.531 MB / 1.279 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.003708/0.6646, allocations: 1.953 MB / 1.595 GB, free: 15.51 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000714/0.6653, allocations: 379.3 kB / 1.596 GB, free: 15.13 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004905/0.6658, allocations: 261.3 kB / 1.596 GB, free: 14.88 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005526/0.6663, allocations: 92.23 kB / 1.596 GB, free: 14.79 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.6664, allocations: 42.83 kB / 1.596 GB, free: 14.73 MB / 1.295 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007226/0.6671, allocations: 151.6 kB / 1.596 GB, free: 14.59 MB / 1.295 GB Notification: Performance of pre-optimization done (n=39): time 2.234e-06/0.6671, allocations: 3.938 kB / 1.596 GB, free: 14.58 MB / 1.295 GB Notification: Performance of matching and sorting (n=39): time 0.001862/0.669, allocations: 0.8228 MB / 1.597 GB, free: 13.75 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.669, allocations: 59.34 kB / 1.597 GB, free: 13.68 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009182/0.6699, allocations: 0.708 MB / 1.598 GB, free: 12.96 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.67, allocations: 29.7 kB / 1.598 GB, free: 12.93 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/0.6703, allocations: 364.8 kB / 1.598 GB, free: 12.57 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.6704, allocations: 142.8 kB / 1.598 GB, free: 12.43 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.6706, allocations: 93.98 kB / 1.598 GB, free: 12.33 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.6707, allocations: 322 kB / 1.599 GB, free: 12.01 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004405/0.6712, allocations: 204.6 kB / 1.599 GB, free: 11.81 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006369/0.6718, allocations: 484.9 kB / 1.599 GB, free: 11.27 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009645/0.6728, allocations: 0.4965 MB / 1.6 GB, free: 10.75 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.6728, allocations: 4 kB / 1.6 GB, free: 10.75 MB / 1.295 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001209/0.674, allocations: 0.6136 MB / 1.601 GB, free: 10.12 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.674, allocations: 8 kB / 1.601 GB, free: 10.12 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.674, allocations: 0 / 1.601 GB, free: 10.12 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.674, allocations: 4.156 kB / 1.601 GB, free: 10.11 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005442/0.6746, allocations: 103.7 kB / 1.601 GB, free: 10.01 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.6746, allocations: 4 kB / 1.601 GB, free: 10.01 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005283/0.6751, allocations: 35.95 kB / 1.601 GB, free: 9.973 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.526e-05/0.6752, allocations: 23.98 kB / 1.601 GB, free: 9.949 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.0003/0.6755, allocations: 217.7 kB / 1.601 GB, free: 9.727 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.6756, allocations: 87.47 kB / 1.601 GB, free: 9.641 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.677, allocations: 0.6532 MB / 1.602 GB, free: 8.977 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.677, allocations: 15.81 kB / 1.602 GB, free: 8.961 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.677, allocations: 3.984 kB / 1.602 GB, free: 8.957 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.677, allocations: 0 / 1.602 GB, free: 8.957 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/0.6797, allocations: 1.414 MB / 1.603 GB, free: 7.453 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.6797, allocations: 4 kB / 1.603 GB, free: 7.449 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004841/0.6801, allocations: 92.22 kB / 1.603 GB, free: 7.359 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.6802, allocations: 11.98 kB / 1.603 GB, free: 7.348 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-05/0.6802, allocations: 12 kB / 1.603 GB, free: 7.336 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.6802, allocations: 4 kB / 1.603 GB, free: 7.332 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.6802, allocations: 4 kB / 1.603 GB, free: 7.328 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.682, allocations: 1.064 MB / 1.604 GB, free: 6.211 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003548/0.6824, allocations: 123.5 kB / 1.604 GB, free: 6.09 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.6825, allocations: 11.98 kB / 1.604 GB, free: 6.078 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005266/0.683, allocations: 31.97 kB / 1.604 GB, free: 6.047 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.6832, allocations: 43.81 kB / 1.604 GB, free: 6.004 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.663e-05/0.6832, allocations: 16 kB / 1.604 GB, free: 5.988 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0007455/0.6839, allocations: 0.495 MB / 1.605 GB, free: 5.496 MB / 1.295 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6839, allocations: 0 / 1.605 GB, free: 5.496 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0007135/0.6847, allocations: 203.7 kB / 1.605 GB, free: 5.297 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.002398/0.6871, allocations: 1.694 MB / 1.607 GB, free: 3.535 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001133/0.6882, allocations: 496 kB / 1.607 GB, free: 3.051 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6882, allocations: 4.25 kB / 1.607 GB, free: 3.047 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.000552/0.6887, allocations: 267.6 kB / 1.607 GB, free: 2.785 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/0.6909, allocations: 460.5 kB / 1.608 GB, free: 2.344 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6577/1.349, allocations: 6.449 MB / 1.614 GB, free: 248.2 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005293/1.349, allocations: 376.8 kB / 1.615 GB, free: 248.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0008294/1.35, allocations: 171 kB / 1.615 GB, free: 248.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004406/1.35, allocations: 292.4 kB / 1.615 GB, free: 248 MB / 1.295 GB Notification: Performance of SimCode: time 1.232e-06/1.35, allocations: 1.062 kB / 1.615 GB, free: 248 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07091/1.421, allocations: 25.6 MB / 1.64 GB, free: 241.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/13.23, allocations: 4.938 kB / 1.64 GB, free: 241.3 MB / 1.295 GB " [Timeout remaining time 287] (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: 20.04144028807059]