Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 110.5 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 195.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 443.5 MB / 0.7287 GB, free: 13.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.89 kB / 1.056 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8122/0.8142, allocations: 160.7 MB / 1.213 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004186/0.8184, allocations: 2.479 MB / 1.215 GB, free: 1.941 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002649/0.821, allocations: 1.587 MB / 1.217 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.8212, allocations: 6.406 kB / 1.217 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009391/0.8221, allocations: 322.6 kB / 1.217 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004881/0.8226, allocations: 217.7 kB / 1.217 GB, free: 364 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000725/0.8233, allocations: 271.8 kB / 1.218 GB, free: 172 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004977/0.8238, allocations: 383.4 kB / 1.218 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.824, allocations: 46.95 kB / 1.218 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002425/0.8242, allocations: 168.3 kB / 1.218 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.8245, allocations: 172.2 kB / 1.218 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.383e-05/0.8245, allocations: 19.12 kB / 1.218 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.8247, allocations: 81.41 kB / 1.219 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.8249, allocations: 135.5 kB / 1.219 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.825, allocations: 189.9 kB / 1.219 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006154/0.8256, allocations: 0.4921 MB / 1.219 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8257, allocations: 1.188 kB / 1.219 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8257, allocations: 0 / 1.219 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.8257, allocations: 4 kB / 1.219 GB, free: 15.09 MB / 0.9356 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.001348/0.827, allocations: 0.8521 MB / 1.22 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.8271, allocations: 9.781 kB / 1.22 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.502e-05/0.8271, allocations: 41.84 kB / 1.22 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.8272, allocations: 63.2 kB / 1.22 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006297/0.8278, allocations: 449.3 kB / 1.221 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.8279, allocations: 13.16 kB / 1.221 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.8279, allocations: 10.78 kB / 1.221 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.8282, allocations: 141 kB / 1.221 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.8282, allocations: 0 / 1.221 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.8282, allocations: 1.219 kB / 1.221 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.8282, allocations: 6.969 kB / 1.221 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.8284, allocations: 71.42 kB / 1.221 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009569/0.8294, allocations: 0.5696 MB / 1.221 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.8297, allocations: 116 kB / 1.222 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.8298, allocations: 52.98 kB / 1.222 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.8298, allocations: 5.125 kB / 1.222 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002407/0.8301, allocations: 113.3 kB / 1.222 GB, free: 13 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.8301, allocations: 0 / 1.222 GB, free: 13 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0005396/0.8306, allocations: 239.9 kB / 1.222 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.8307, allocations: 78.2 kB / 1.222 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008356/0.8315, allocations: 0.6938 MB / 1.223 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.8315, allocations: 31.92 kB / 1.223 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.8318, allocations: 259.6 kB / 1.223 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.8318, allocations: 35.08 kB / 1.223 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-05/0.8319, allocations: 54.66 kB / 1.223 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.8321, allocations: 372.2 kB / 1.223 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.8322, allocations: 66.22 kB / 1.223 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.8324, allocations: 135.2 kB / 1.224 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.8327, allocations: 132.4 kB / 1.224 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8327, allocations: 0 / 1.224 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004554/0.8331, allocations: 276.6 kB / 1.224 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.8331, allocations: 9.031 kB / 1.224 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.8331, allocations: 1.375 kB / 1.224 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.8332, allocations: 1.219 kB / 1.224 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.8333, allocations: 34.89 kB / 1.224 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.8333, allocations: 6.516 kB / 1.224 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.8335, allocations: 21.41 kB / 1.224 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.8335, allocations: 10.31 kB / 1.224 GB, free: 11.32 MB / 0.9356 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.0002285/0.8337, allocations: 220.4 kB / 1.224 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.265e-05/0.8338, allocations: 60.59 kB / 1.224 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.8339, allocations: 62.28 kB / 1.224 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.8339, allocations: 1.391 kB / 1.224 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.8339, allocations: 11.86 kB / 1.224 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.8339, allocations: 3.938 kB / 1.224 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003883/0.8343, allocations: 370.8 kB / 1.225 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.8343, allocations: 0 / 1.225 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.442e-05/0.8344, allocations: 6.469 kB / 1.225 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.8344, allocations: 1.531 kB / 1.225 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.8344, allocations: 5.266 kB / 1.225 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.8344, allocations: 4.969 kB / 1.225 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8344, allocations: 0 / 1.225 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003721/0.8348, allocations: 227.3 kB / 1.225 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.8349, allocations: 124.8 kB / 1.225 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.774e-05/0.835, allocations: 6.688 kB / 1.225 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.8351, allocations: 9.641 kB / 1.225 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/0.8351, allocations: 27.44 kB / 1.225 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.8352, allocations: 9.031 kB / 1.225 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005406/0.8357, allocations: 465.5 kB / 1.226 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8357, allocations: 0 / 1.226 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003167/0.836, allocations: 72.52 kB / 1.226 GB, free: 10.15 MB / 0.9356 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 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.002105/0.8381, allocations: 1.093 MB / 1.227 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003733/0.8385, allocations: 148 kB / 1.227 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8385, allocations: 0 / 1.227 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.8386, allocations: 49.88 kB / 1.227 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004937/0.8391, allocations: 90.31 kB / 1.227 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005281/0.8444, allocations: 3.9 MB / 1.231 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005542/0.8449, allocations: 0.8579 MB / 1.232 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002117/0.8452, allocations: 54.92 kB / 1.232 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/0.8454, allocations: 167.4 kB / 1.232 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of SimCode: time 9.92e-07/0.8454, allocations: 0 / 1.232 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03567/0.8811, allocations: 9.875 MB / 1.242 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.653/9.534, allocations: 10.89 kB / 1.242 GB, free: 10.65 MB / 0.9512 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.342330762185156]