Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.001744/0.001744, allocations: 106.4 kB / 16.45 MB, free: 6.504 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.001853/0.001853, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.469/1.469, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.302/3.302, allocations: 497.2 MB / 0.7811 GB, free: 33.66 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002535/0.002535, allocations: 70.52 kB / 1.134 GB, free: 33.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4032, allocations: 173.9 MB / 1.304 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001967/0.4051, allocations: 0.7328 MB / 1.305 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.4068, allocations: 1.264 MB / 1.306 GB, free: 15.53 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.871e-05/0.4068, allocations: 0 / 1.306 GB, free: 15.53 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.518e-05/0.4069, allocations: 11.88 kB / 1.306 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.518e-05/0.407, allocations: 23.84 kB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007053/0.4077, allocations: 242.6 kB / 1.306 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000322/0.408, allocations: 259.5 kB / 1.306 GB, free: 15.01 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.4081, allocations: 8.234 kB / 1.306 GB, free: 15 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.4082, allocations: 107.8 kB / 1.307 GB, free: 14.89 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.4084, allocations: 99.66 kB / 1.307 GB, free: 14.8 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.478e-05/0.4084, allocations: 24 kB / 1.307 GB, free: 14.77 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-05/0.4085, allocations: 39.92 kB / 1.307 GB, free: 14.73 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.727e-05/0.4086, allocations: 31.91 kB / 1.307 GB, free: 14.7 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.4087, allocations: 95.73 kB / 1.307 GB, free: 14.61 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.409, allocations: 223.6 kB / 1.307 GB, free: 14.39 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.409, allocations: 0 / 1.307 GB, free: 14.39 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.343e-06/0.409, allocations: 0 / 1.307 GB, free: 14.39 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.409, allocations: 0 / 1.307 GB, free: 14.39 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007958/0.4098, allocations: 0.4906 MB / 1.308 GB, free: 13.84 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.4098, allocations: 8.625 kB / 1.308 GB, free: 13.83 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.804e-05/0.4099, allocations: 42.73 kB / 1.308 GB, free: 13.78 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.974e-05/0.41, allocations: 24.81 kB / 1.308 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006499/0.4106, allocations: 252.3 kB / 1.308 GB, free: 13.47 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/0.4106, allocations: 16.38 kB / 1.308 GB, free: 13.45 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.915e-05/0.4107, allocations: 28.36 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.411, allocations: 135.4 kB / 1.308 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.411, allocations: 0 / 1.308 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.4111, allocations: 7.984 kB / 1.308 GB, free: 13.28 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.4111, allocations: 0 / 1.308 GB, free: 13.28 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.4112, allocations: 63.89 kB / 1.308 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009398/0.4121, allocations: 0.5124 MB / 1.309 GB, free: 12.65 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.4124, allocations: 137.2 kB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.677e-05/0.4125, allocations: 49.69 kB / 1.309 GB, free: 12.44 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.4125, allocations: 4 kB / 1.309 GB, free: 12.44 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004782/0.413, allocations: 207.2 kB / 1.309 GB, free: 12.22 MB / 1.014 GB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.413, allocations: 4 kB / 1.309 GB, free: 12.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=22): time 0.0006243/0.4137, allocations: 309.5 kB / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/0.4137, allocations: 93.34 kB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.4139, allocations: 134 kB / 1.309 GB, free: 11.66 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.848e-05/0.4139, allocations: 37.7 kB / 1.31 GB, free: 11.61 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.988e-05/0.414, allocations: 92.7 kB / 1.31 GB, free: 11.52 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.397e-05/0.414, allocations: 59.52 kB / 1.31 GB, free: 11.46 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.4142, allocations: 73.67 kB / 1.31 GB, free: 11.38 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.4143, allocations: 330.8 kB / 1.31 GB, free: 11.05 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.4145, allocations: 84.22 kB / 1.31 GB, free: 10.96 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.4147, allocations: 152.7 kB / 1.31 GB, free: 10.79 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.415, allocations: 243 kB / 1.31 GB, free: 10.51 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.415, allocations: 0 / 1.31 GB, free: 10.51 MB / 1.014 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005772/0.4156, allocations: 369.7 kB / 1.311 GB, free: 10.13 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.467e-05/0.4157, allocations: 67.39 kB / 1.311 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.4157, allocations: 8 kB / 1.311 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.4157, allocations: 0 / 1.311 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.45e-05/0.4158, allocations: 27.86 kB / 1.311 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.4158, allocations: 0 / 1.311 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003302/0.4161, allocations: 68.05 kB / 1.311 GB, free: 9.953 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.4162, allocations: 23.98 kB / 1.311 GB, free: 9.93 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001422/0.4163, allocations: 148 kB / 1.311 GB, free: 9.773 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.4163, allocations: 11.95 kB / 1.311 GB, free: 9.762 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.52e-05/0.4164, allocations: 12.5 kB / 1.311 GB, free: 9.742 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.4164, allocations: 11.94 kB / 1.311 GB, free: 9.73 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.4164, allocations: 3.984 kB / 1.311 GB, free: 9.727 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4164, allocations: 0 / 1.311 GB, free: 9.727 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006577/0.4171, allocations: 0.621 MB / 1.312 GB, free: 9.051 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4171, allocations: 0 / 1.312 GB, free: 9.051 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.23e-05/0.4171, allocations: 11.98 kB / 1.312 GB, free: 9.039 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.4171, allocations: 3.938 kB / 1.312 GB, free: 9.035 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.4171, allocations: 4 kB / 1.312 GB, free: 9.031 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.4171, allocations: 3.984 kB / 1.312 GB, free: 9.027 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4171, allocations: 0 / 1.312 GB, free: 9.027 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004404/0.4176, allocations: 422.6 kB / 1.312 GB, free: 8.598 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.4176, allocations: 93 kB / 1.312 GB, free: 8.488 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.4177, allocations: 15.92 kB / 1.312 GB, free: 8.473 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.4178, allocations: 7.984 kB / 1.312 GB, free: 8.465 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/0.4179, allocations: 23.95 kB / 1.312 GB, free: 8.441 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.4179, allocations: 16 kB / 1.312 GB, free: 8.426 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.264e-05/0.4179, allocations: 95.27 kB / 1.312 GB, free: 8.332 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4179, allocations: 0 / 1.312 GB, free: 8.332 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003515/0.4183, allocations: 63.92 kB / 1.313 GB, free: 8.27 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0008426/0.4191, allocations: 0.9601 MB / 1.313 GB, free: 7.285 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005017/0.4196, allocations: 322.5 kB / 1.314 GB, free: 6.945 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4196, allocations: 0 / 1.314 GB, free: 6.945 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.4198, allocations: 91.81 kB / 1.314 GB, free: 6.855 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.4202, allocations: 25.52 kB / 1.314 GB, free: 6.832 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.4229, allocations: 2.279 MB / 1.316 GB, free: 4.418 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.4233, allocations: 0.7124 MB / 1.317 GB, free: 3.68 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.577e-05/0.4234, allocations: 17.55 kB / 1.317 GB, free: 3.656 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.07e-05/0.4234, allocations: 39.42 kB / 1.317 GB, free: 3.617 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.4234, allocations: 0 / 1.317 GB, free: 3.617 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02763/0.4511, allocations: 4.128 MB / 1.321 GB, free: 15.61 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.958/8.409, allocations: 11.8 kB / 1.321 GB, free: 15.6 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.307980654295534]