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.001706/0.001706, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00216/0.00216, allocations: 214.9 kB / 23.04 MB, free: 5.07 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 8 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.31/3.31, allocations: 0.5003 GB / 0.8061 GB, free: 26.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="cs",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.002/0.002, allocations: 62.52 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3332, allocations: 179 MB / 1.345 GB, free: 496 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.2946/0.6278, allocations: 244.7 MB / 1.584 GB, free: 10.92 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.01318/0.641, allocations: 7.189 MB / 1.591 GB, free: 3.715 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001889/0.6429, allocations: 75.38 kB / 1.591 GB, free: 3.641 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.6447, allocations: 0.5318 MB / 1.592 GB, free: 3.105 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.003678/0.6484, allocations: 1.362 MB / 1.593 GB, free: 1.738 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.004485/0.6529, allocations: 1.691 MB / 1.595 GB, free: 52 kB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.003285/0.6562, allocations: 1.969 MB / 1.597 GB, free: 14.08 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.6574, allocations: 0.6611 MB / 1.597 GB, free: 13.4 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00415/0.6615, allocations: 1.724 MB / 1.599 GB, free: 11.67 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.6627, allocations: 0.6964 MB / 1.6 GB, free: 10.97 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.6629, allocations: 76 kB / 1.6 GB, free: 10.9 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003045/0.6659, allocations: 1.59 MB / 1.601 GB, free: 9.305 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0003997/0.6663, allocations: 303 kB / 1.602 GB, free: 9.008 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.0006314/0.667, allocations: 485.7 kB / 1.602 GB, free: 8.531 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.002666/0.6696, allocations: 1.643 MB / 1.604 GB, free: 6.883 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.6696, allocations: 4 kB / 1.604 GB, free: 6.879 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6696, allocations: 0 / 1.604 GB, free: 6.879 MB / 1.295 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.6697, allocations: 0 / 1.604 GB, free: 6.879 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.002283/0.6719, allocations: 1.188 MB / 1.605 GB, free: 5.656 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.672, allocations: 8.031 kB / 1.605 GB, free: 5.648 MB / 1.295 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.453e-05/0.672, allocations: 16.94 kB / 1.605 GB, free: 5.633 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/0.6721, allocations: 94.52 kB / 1.605 GB, free: 5.531 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001756/0.6739, allocations: 283.1 kB / 1.605 GB, free: 5.254 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.6752, allocations: 0.6464 MB / 1.606 GB, free: 4.574 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.293e-05/0.6752, allocations: 37 kB / 1.606 GB, free: 4.539 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.6753, allocations: 52 kB / 1.606 GB, free: 4.488 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.6765, allocations: 0.6115 MB / 1.607 GB, free: 3.871 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.6765, allocations: 0 / 1.607 GB, free: 3.871 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.037e-05/0.6766, allocations: 20 kB / 1.607 GB, free: 3.852 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.6766, allocations: 12 kB / 1.607 GB, free: 3.84 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.6778, allocations: 0.6207 MB / 1.607 GB, free: 3.219 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.004215/0.682, allocations: 2.84 MB / 1.61 GB, free: 140 kB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6424/1.324, allocations: 371.8 kB / 1.61 GB, free: 269.3 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005984/1.325, allocations: 260.6 kB / 1.611 GB, free: 269.3 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006034/1.326, allocations: 94.28 kB / 1.611 GB, free: 269.3 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/1.326, allocations: 37.95 kB / 1.611 GB, free: 269.3 MB / 1.295 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000922/1.327, allocations: 149.6 kB / 1.611 GB, free: 269.3 MB / 1.295 GB Notification: Performance of pre-optimization done (n=39): time 2.515e-06/1.327, allocations: 2.812 kB / 1.611 GB, free: 269.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=39): time 0.002008/1.329, allocations: 0.8303 MB / 1.612 GB, free: 269.2 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/1.329, allocations: 55.25 kB / 1.612 GB, free: 269.2 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/1.33, allocations: 0.7062 MB / 1.612 GB, free: 269 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 4.978e-05/1.33, allocations: 34.77 kB / 1.612 GB, free: 269 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/1.33, allocations: 369.4 kB / 1.613 GB, free: 268.9 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/1.33, allocations: 142.8 kB / 1.613 GB, free: 268.8 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/1.33, allocations: 93.34 kB / 1.613 GB, free: 268.8 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 6.979e-05/1.33, allocations: 327.2 kB / 1.613 GB, free: 268.4 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004598/1.331, allocations: 206.7 kB / 1.614 GB, free: 268.4 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005224/1.331, allocations: 306.6 kB / 1.614 GB, free: 268.2 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009501/1.332, allocations: 0.4958 MB / 1.614 GB, free: 268 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/1.332, allocations: 0 / 1.614 GB, free: 268 MB / 1.295 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001302/1.334, allocations: 0.6168 MB / 1.615 GB, free: 267.8 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/1.334, allocations: 10.88 kB / 1.615 GB, free: 267.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/1.334, allocations: 1.531 kB / 1.615 GB, free: 267.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/1.334, allocations: 5.469 kB / 1.615 GB, free: 267.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005718/1.334, allocations: 103.8 kB / 1.615 GB, free: 267.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/1.334, allocations: 2.906 kB / 1.615 GB, free: 267.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005684/1.335, allocations: 37.42 kB / 1.615 GB, free: 267.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.586e-05/1.335, allocations: 23.91 kB / 1.615 GB, free: 267.8 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.0003078/1.335, allocations: 223.7 kB / 1.615 GB, free: 267.6 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/1.335, allocations: 84.8 kB / 1.615 GB, free: 267.6 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/1.337, allocations: 0.6481 MB / 1.616 GB, free: 267.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/1.337, allocations: 5.359 kB / 1.616 GB, free: 267.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.337, allocations: 0 / 1.616 GB, free: 267.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/1.337, allocations: 2.953 kB / 1.616 GB, free: 267.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002616/1.339, allocations: 1.502 MB / 1.618 GB, free: 266.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/1.339, allocations: 3.375 kB / 1.618 GB, free: 266.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000517/1.34, allocations: 85.23 kB / 1.618 GB, free: 266.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/1.34, allocations: 8.734 kB / 1.618 GB, free: 266.5 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.582e-05/1.34, allocations: 15.58 kB / 1.618 GB, free: 266.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.155e-05/1.34, allocations: 6.141 kB / 1.618 GB, free: 266.5 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/1.34, allocations: 4.234 kB / 1.618 GB, free: 266.5 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/1.342, allocations: 1.046 MB / 1.619 GB, free: 266 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003075/1.342, allocations: 129 kB / 1.619 GB, free: 265.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/1.342, allocations: 10.97 kB / 1.619 GB, free: 265.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004919/1.343, allocations: 31.73 kB / 1.619 GB, free: 265.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.829e-05/1.343, allocations: 43.78 kB / 1.619 GB, free: 265.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/1.343, allocations: 11.75 kB / 1.619 GB, free: 265.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.000637/1.344, allocations: 0.4964 MB / 1.619 GB, free: 265.7 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/1.344, allocations: 3.594 kB / 1.619 GB, free: 265.7 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0006796/1.344, allocations: 195.3 kB / 1.62 GB, free: 265.6 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.001949/1.346, allocations: 1.685 MB / 1.621 GB, free: 264.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001037/1.347, allocations: 0.4898 MB / 1.622 GB, free: 264.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.347, allocations: 2 kB / 1.622 GB, free: 264.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0005024/1.348, allocations: 269.4 kB / 1.622 GB, free: 264.3 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/1.35, allocations: 467.5 kB / 1.622 GB, free: 264.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/1.362, allocations: 6.467 MB / 1.629 GB, free: 260.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/1.363, allocations: 0.9633 MB / 1.63 GB, free: 260.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0007208/1.364, allocations: 172 kB / 1.63 GB, free: 260.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003768/1.364, allocations: 290.1 kB / 1.63 GB, free: 260 MB / 1.295 GB Notification: Performance of SimCode: time 1.192e-06/1.364, allocations: 1.312 kB / 1.63 GB, free: 260 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05421/1.418, allocations: 23.6 MB / 1.653 GB, free: 250.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/14.07, allocations: 6.875 kB / 1.653 GB, free: 250.3 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.189628791995347]