Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.0008498/0.0008498, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008677/0.0008677, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8682/0.8682, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.795/1.795, allocations: 389 MB / 0.6331 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.793e-05/1.98e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.002903/0.002923, allocations: 2.398 MB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002131/0.005053, allocations: 1.63 MB / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.005221, allocations: 3.938 kB / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0007936/0.006015, allocations: 330.6 kB / 1.004 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004272/0.006442, allocations: 274.7 kB / 1.004 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.006815, allocations: 203.4 kB / 1.004 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003531/0.007168, allocations: 430.5 kB / 1.005 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.007293, allocations: 40.91 kB / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.007481, allocations: 215.4 kB / 1.005 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.007674, allocations: 147.6 kB / 1.005 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.007712, allocations: 20 kB / 1.005 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.007867, allocations: 87.81 kB / 1.005 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.007973, allocations: 135.5 kB / 1.005 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.015e-05/0.008053, allocations: 95.59 kB / 1.006 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004118/0.008465, allocations: 0.5021 MB / 1.006 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.008467, allocations: 0 / 1.006 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.012e-06/0.008468, allocations: 0 / 1.006 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.008474, allocations: 4 kB / 1.006 GB, free: 6.969 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009097/0.009384, allocations: 0.7852 MB / 1.007 GB, free: 6.145 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.009429, allocations: 16.69 kB / 1.007 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.931e-05/0.009469, allocations: 42.73 kB / 1.007 GB, free: 6.078 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.729e-05/0.009546, allocations: 60.52 kB / 1.007 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.009988, allocations: 378.7 kB / 1.007 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.01001, allocations: 8.547 kB / 1.007 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.01003, allocations: 20.12 kB / 1.007 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.01025, allocations: 143.3 kB / 1.007 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.01026, allocations: 0 / 1.007 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.01027, allocations: 12 kB / 1.007 GB, free: 5.43 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.01028, allocations: 3.984 kB / 1.007 GB, free: 5.426 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.01039, allocations: 75.91 kB / 1.008 GB, free: 5.352 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006031/0.011, allocations: 0.5191 MB / 1.008 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.0112, allocations: 122.7 kB / 1.008 GB, free: 4.66 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.55e-05/0.01126, allocations: 56.83 kB / 1.008 GB, free: 4.602 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.01128, allocations: 0 / 1.008 GB, free: 4.602 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.01144, allocations: 140.5 kB / 1.008 GB, free: 4.449 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.01144, allocations: 0 / 1.008 GB, free: 4.449 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13): time 0.0003536/0.0118, allocations: 245.2 kB / 1.009 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.01183, allocations: 59.34 kB / 1.009 GB, free: 4.133 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005484/0.01238, allocations: 0.7072 MB / 1.009 GB, free: 3.414 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.0124, allocations: 37.64 kB / 1.009 GB, free: 3.371 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.01256, allocations: 272.5 kB / 1.01 GB, free: 3.102 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.0126, allocations: 39.69 kB / 1.01 GB, free: 3.062 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.695e-05/0.01266, allocations: 57.69 kB / 1.01 GB, free: 3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.01278, allocations: 366.8 kB / 1.01 GB, free: 2.633 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.01288, allocations: 83.89 kB / 1.01 GB, free: 2.551 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.01301, allocations: 167.7 kB / 1.01 GB, free: 2.359 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.01317, allocations: 141.3 kB / 1.01 GB, free: 2.215 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01317, allocations: 4.031 kB / 1.01 GB, free: 2.211 MB / 0.9636 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002739/0.01345, allocations: 289.1 kB / 1.011 GB, free: 1.922 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.01346, allocations: 4 kB / 1.011 GB, free: 1.918 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.01347, allocations: 0 / 1.011 GB, free: 1.918 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.01348, allocations: 7.938 kB / 1.011 GB, free: 1.91 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.46e-05/0.01358, allocations: 27.98 kB / 1.011 GB, free: 1.883 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.01358, allocations: 11.92 kB / 1.011 GB, free: 1.871 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.639e-05/0.01367, allocations: 27.81 kB / 1.011 GB, free: 1.844 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.01369, allocations: 16.05 kB / 1.011 GB, free: 1.828 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001553/0.01384, allocations: 207.8 kB / 1.011 GB, free: 1.617 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.137e-05/0.01388, allocations: 59.61 kB / 1.011 GB, free: 1.559 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.01416, allocations: 225.1 kB / 1.011 GB, free: 1.328 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.01417, allocations: 3.938 kB / 1.011 GB, free: 1.324 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.01417, allocations: 0 / 1.011 GB, free: 1.324 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01417, allocations: 0 / 1.011 GB, free: 1.324 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.01441, allocations: 328.5 kB / 1.012 GB, free: 0.9609 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01441, allocations: 0 / 1.012 GB, free: 0.9609 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.869e-05/0.01444, allocations: 19.98 kB / 1.012 GB, free: 0.9414 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01444, allocations: 0 / 1.012 GB, free: 0.9414 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.01445, allocations: 8 kB / 1.012 GB, free: 0.9336 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01445, allocations: 3.938 kB / 1.012 GB, free: 0.9297 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01445, allocations: 0 / 1.012 GB, free: 0.9297 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.01468, allocations: 236.6 kB / 1.012 GB, free: 0.6797 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.01474, allocations: 55.61 kB / 1.012 GB, free: 0.625 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.01477, allocations: 8 kB / 1.012 GB, free: 0.6172 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.195e-05/0.01483, allocations: 15.92 kB / 1.012 GB, free: 0.6016 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.01488, allocations: 15.97 kB / 1.012 GB, free: 0.5859 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.0149, allocations: 12 kB / 1.012 GB, free: 0.5742 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0004306/0.01533, allocations: 483 kB / 1.012 GB, free: 112 kB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.01533, allocations: 0 / 1.012 GB, free: 112 kB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002244/0.01555, allocations: 71.83 kB / 1.012 GB, free: 40 kB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001151/0.0167, allocations: 1.136 MB / 1.014 GB, free: 15.06 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002476/0.01695, allocations: 153.9 kB / 1.014 GB, free: 14.91 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.01695, allocations: 4.062 kB / 1.014 GB, free: 14.91 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 8.078e-05/0.01703, allocations: 67.84 kB / 1.014 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.01732, allocations: 89.55 kB / 1.014 GB, free: 14.76 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003172/0.0205, allocations: 3.982 MB / 1.018 GB, free: 10.68 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.02066, allocations: 270.6 kB / 1.018 GB, free: 10.39 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 9.382e-05/0.02076, allocations: 46.94 kB / 1.018 GB, free: 10.35 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.02091, allocations: 176.4 kB / 1.018 GB, free: 10.18 MB / 0.9792 GB Notification: Performance of SimCode: time 6.62e-07/0.02091, allocations: 4 kB / 1.018 GB, free: 10.17 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/0.04665, allocations: 11.04 MB / 1.029 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.039/7.086, allocations: 0 / 1.029 GB, free: 15.25 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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: 11.154864900745451]