Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.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.0009218/0.0009218, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008169/0.0008169, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8509/0.8509, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.603/1.603, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.DHC.Plants.Cooling.Controls.Validation.TankStatus,fileNamePrefix="Buildings_11_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,fileNamePrefix="Buildings_11_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.92e-05/2.075e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.002694/0.002714, allocations: 2.198 MB / 0.9526 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001718/0.004432, allocations: 1.356 MB / 0.954 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.00462, allocations: 7.938 kB / 0.954 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000437/0.005057, allocations: 175.2 kB / 0.9541 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0004483/0.005505, allocations: 226.9 kB / 0.9543 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003697/0.005875, allocations: 191.4 kB / 0.9545 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0004027/0.006278, allocations: 438.7 kB / 0.9549 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.006441, allocations: 65.53 kB / 0.955 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.006666, allocations: 231.4 kB / 0.9552 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.006835, allocations: 163.5 kB / 0.9554 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.006867, allocations: 28 kB / 0.9554 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.00701, allocations: 83.84 kB / 0.9555 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.943e-05/0.007109, allocations: 119.5 kB / 0.9556 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.501e-05/0.007194, allocations: 99.64 kB / 0.9557 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004129/0.007607, allocations: 0.4945 MB / 0.9562 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.00761, allocations: 4 kB / 0.9562 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.333e-06/0.007611, allocations: 0 / 0.9562 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.007619, allocations: 3.938 kB / 0.9562 GB, free: 13.62 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008677/0.008486, allocations: 0.6652 MB / 0.9568 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.008526, allocations: 8.031 kB / 0.9568 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.118e-05/0.008568, allocations: 46.73 kB / 0.9569 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.704e-05/0.008635, allocations: 44.66 kB / 0.9569 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.009052, allocations: 360 kB / 0.9573 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.009071, allocations: 12.38 kB / 0.9573 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.853e-05/0.009089, allocations: 12.38 kB / 0.9573 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.009335, allocations: 217.9 kB / 0.9575 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.009343, allocations: 0 / 0.9575 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.009357, allocations: 8 kB / 0.9575 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.009363, allocations: 4 kB / 0.9575 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.009492, allocations: 91.89 kB / 0.9576 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007414/0.01023, allocations: 0.7184 MB / 0.9583 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.01043, allocations: 137.3 kB / 0.9584 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.382e-05/0.0105, allocations: 49.64 kB / 0.9585 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.01051, allocations: 4 kB / 0.9585 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.01069, allocations: 133 kB / 0.9586 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.01069, allocations: 4 kB / 0.9586 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12): time 0.0003662/0.01105, allocations: 237.3 kB / 0.9588 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.0111, allocations: 106.8 kB / 0.9589 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004761/0.01158, allocations: 0.5994 MB / 0.9595 GB, free: 9.98 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.0116, allocations: 33.7 kB / 0.9596 GB, free: 9.941 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.01172, allocations: 204.5 kB / 0.9598 GB, free: 9.738 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.01175, allocations: 31.73 kB / 0.9598 GB, free: 9.707 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.02e-05/0.01183, allocations: 77.64 kB / 0.9599 GB, free: 9.625 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.01193, allocations: 358.8 kB / 0.9602 GB, free: 9.266 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.01206, allocations: 115.8 kB / 0.9603 GB, free: 9.152 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.01223, allocations: 247 kB / 0.9606 GB, free: 8.871 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.01243, allocations: 195.5 kB / 0.9607 GB, free: 8.668 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.01243, allocations: 3.938 kB / 0.9607 GB, free: 8.664 MB / 0.9167 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000353/0.01278, allocations: 356.4 kB / 0.9611 GB, free: 8.312 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.0128, allocations: 10.28 kB / 0.9611 GB, free: 8.305 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.0128, allocations: 4 kB / 0.9611 GB, free: 8.301 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.01282, allocations: 0 / 0.9611 GB, free: 8.301 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.01293, allocations: 47.91 kB / 0.9611 GB, free: 8.254 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.01294, allocations: 4 kB / 0.9611 GB, free: 8.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.01306, allocations: 47.81 kB / 0.9612 GB, free: 8.203 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.01308, allocations: 12.09 kB / 0.9612 GB, free: 8.191 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.TTanBot.tab.nextTimeEvent,$whenCondition2,$PRE.TTanTop.tab.nextTimeEvent,$whenCondition1,TTanTop.tab.nextTimeEventScaled,$PRE.TTanTop.tab.nextTimeEventScaled,TTanTop.tab.nextTimeEvent,tanSta.hysCha.y,$PRE.tanSta.hysCha.y,TTanBot.tab.nextTimeEventScaled,$PRE.TTanBot.tab.nextTimeEventScaled,TTanBot.tab.nextTimeEvent,tanSta.hysEmp.y,$PRE.tanSta.hysEmp.y,tanSta.gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001391/0.01322, allocations: 199.6 kB / 0.9614 GB, free: 7.988 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.01325, allocations: 47.7 kB / 0.9614 GB, free: 7.941 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.0135, allocations: 217.1 kB / 0.9616 GB, free: 7.719 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.0135, allocations: 3.938 kB / 0.9617 GB, free: 7.715 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.01351, allocations: 0 / 0.9617 GB, free: 7.715 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.01351, allocations: 0 / 0.9617 GB, free: 7.715 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.01371, allocations: 288.5 kB / 0.9619 GB, free: 7.391 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.01371, allocations: 0 / 0.9619 GB, free: 7.391 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.503e-05/0.01373, allocations: 8 kB / 0.9619 GB, free: 7.383 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01374, allocations: 4 kB / 0.9619 GB, free: 7.379 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.01375, allocations: 7.984 kB / 0.9619 GB, free: 7.371 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.01375, allocations: 4 kB / 0.9619 GB, free: 7.367 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.01375, allocations: 4.047 kB / 0.962 GB, free: 7.363 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.01397, allocations: 236.9 kB / 0.9622 GB, free: 7.113 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.131e-05/0.01403, allocations: 51.7 kB / 0.9622 GB, free: 7.062 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.01405, allocations: 4 kB / 0.9622 GB, free: 7.059 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.362e-05/0.01412, allocations: 23.97 kB / 0.9623 GB, free: 7.035 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/0.01417, allocations: 23.97 kB / 0.9623 GB, free: 7.012 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.01418, allocations: 7.984 kB / 0.9623 GB, free: 7.004 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002682/0.01445, allocations: 371.1 kB / 0.9626 GB, free: 6.645 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01445, allocations: 4 kB / 0.9626 GB, free: 6.641 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002241/0.01468, allocations: 67.94 kB / 0.9627 GB, free: 6.574 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled,$whenCondition1,tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled) * Number of discrete states: 6 (tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * 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.001043/0.01572, allocations: 1.11 MB / 0.9638 GB, free: 5.617 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002883/0.01601, allocations: 195.9 kB / 0.964 GB, free: 5.426 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01601, allocations: 0 / 0.964 GB, free: 5.426 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.774e-05/0.01609, allocations: 64.09 kB / 0.964 GB, free: 5.363 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.01638, allocations: 103.6 kB / 0.9641 GB, free: 5.273 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.01922, allocations: 3.666 MB / 0.9677 GB, free: 1.477 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.01934, allocations: 208.5 kB / 0.9679 GB, free: 1.258 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 9.502e-05/0.01944, allocations: 59.23 kB / 0.968 GB, free: 1.195 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.01957, allocations: 132.5 kB / 0.9681 GB, free: 1.066 MB / 0.9167 GB Notification: Performance of SimCode: time 3.9e-07/0.01957, allocations: 0 / 0.9681 GB, free: 1.066 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.03939, allocations: 9.837 MB / 0.9777 GB, free: 7.375 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.781/6.82, allocations: 0 / 0.9777 GB, free: 7.375 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.fmu > Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.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: 10.701989891007543]