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.001625/0.001625, allocations: 110 kB / 16.41 MB, free: 6.508 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.001844/0.001844, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.443/1.443, allocations: 222.9 MB / 245.1 MB, free: 15.02 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 2.942/2.942, allocations: 489 MB / 0.7678 GB, free: 0 / 0.6231 GB " [Timeout remaining time 177] 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.001956/0.001956, allocations: 65.94 kB / 1.101 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3593, allocations: 163.8 MB / 1.261 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002055/0.3614, allocations: 0.7351 MB / 1.262 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00194/0.3634, allocations: 1.252 MB / 1.263 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.995e-05/0.3634, allocations: 0 / 1.263 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.733e-05/0.3635, allocations: 7.875 kB / 1.263 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.522e-05/0.3636, allocations: 19.84 kB / 1.263 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007984/0.3644, allocations: 253.8 kB / 1.263 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000343/0.3647, allocations: 263.5 kB / 1.264 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.3649, allocations: 20.2 kB / 1.264 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.365, allocations: 103.7 kB / 1.264 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.3652, allocations: 99.73 kB / 1.264 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.184e-05/0.3653, allocations: 24 kB / 1.264 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.316e-05/0.3654, allocations: 39.98 kB / 1.264 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.261e-05/0.3654, allocations: 31.91 kB / 1.264 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.3656, allocations: 91.73 kB / 1.264 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002921/0.3659, allocations: 223.5 kB / 1.264 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3659, allocations: 4 kB / 1.264 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3659, allocations: 0 / 1.264 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3659, allocations: 0 / 1.264 GB, free: 11.07 MB / 0.9825 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.0007733/0.3667, allocations: 0.4946 MB / 1.265 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.3667, allocations: 8.031 kB / 1.265 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.698e-05/0.3668, allocations: 38.73 kB / 1.265 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.301e-05/0.3668, allocations: 20.88 kB / 1.265 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006012/0.3674, allocations: 256.3 kB / 1.265 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.3675, allocations: 8.375 kB / 1.265 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.945e-05/0.3675, allocations: 24.36 kB / 1.265 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.3678, allocations: 135.6 kB / 1.265 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3678, allocations: 0 / 1.265 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.3678, allocations: 3.984 kB / 1.265 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.3678, allocations: 7.938 kB / 1.265 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.368, allocations: 59.95 kB / 1.265 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000828/0.3688, allocations: 0.5202 MB / 1.266 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.3691, allocations: 153.2 kB / 1.266 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.3692, allocations: 61.69 kB / 1.266 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.3692, allocations: 8 kB / 1.266 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000399/0.3696, allocations: 204.8 kB / 1.266 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.3696, allocations: 0 / 1.266 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22): time 0.0006067/0.3702, allocations: 321.6 kB / 1.266 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.789e-05/0.3703, allocations: 93.03 kB / 1.266 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.3705, allocations: 124.8 kB / 1.267 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.953e-05/0.3705, allocations: 41.7 kB / 1.267 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.649e-05/0.3706, allocations: 96.8 kB / 1.267 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/0.3707, allocations: 51.64 kB / 1.267 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.3708, allocations: 73.67 kB / 1.267 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.371, allocations: 322.8 kB / 1.267 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.3712, allocations: 100.2 kB / 1.267 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.3714, allocations: 144.2 kB / 1.267 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/0.3718, allocations: 258.8 kB / 1.268 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.3718, allocations: 4 kB / 1.268 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006173/0.3724, allocations: 360 kB / 1.268 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.59e-05/0.3725, allocations: 67.39 kB / 1.268 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.3725, allocations: 4 kB / 1.268 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3725, allocations: 0 / 1.268 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.3727, allocations: 27.86 kB / 1.268 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.3727, allocations: 4.062 kB / 1.268 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003629/0.373, allocations: 68.05 kB / 1.268 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.956e-05/0.3731, allocations: 23.98 kB / 1.268 GB, free: 6.578 MB / 0.9825 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.0001496/0.3733, allocations: 144 kB / 1.268 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.3733, allocations: 15.91 kB / 1.268 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.702e-05/0.3733, allocations: 12.5 kB / 1.268 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.862e-06/0.3734, allocations: 7.938 kB / 1.268 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3734, allocations: 0 / 1.268 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.3734, allocations: 7.984 kB / 1.268 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007164/0.3741, allocations: 0.6148 MB / 1.269 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3741, allocations: 0 / 1.269 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.3742, allocations: 11.98 kB / 1.269 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.3742, allocations: 3.938 kB / 1.269 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.3742, allocations: 4 kB / 1.269 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.3742, allocations: 3.984 kB / 1.269 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3742, allocations: 3.938 kB / 1.269 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004894/0.3747, allocations: 421 kB / 1.269 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.138e-05/0.3748, allocations: 89.05 kB / 1.269 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.3748, allocations: 11.94 kB / 1.269 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.375, allocations: 11.98 kB / 1.269 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/0.375, allocations: 19.97 kB / 1.269 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.3751, allocations: 19.98 kB / 1.27 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.565e-05/0.3751, allocations: 95.27 kB / 1.27 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3751, allocations: 3.938 kB / 1.27 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004235/0.3756, allocations: 67.88 kB / 1.27 GB, free: 4.926 MB / 0.9825 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.0008725/0.3765, allocations: 0.9576 MB / 1.271 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005281/0.377, allocations: 350.5 kB / 1.271 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.377, allocations: 0 / 1.271 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.3772, allocations: 123.9 kB / 1.271 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.3776, allocations: 26.61 kB / 1.271 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.3807, allocations: 2.272 MB / 1.273 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.3811, allocations: 0.7086 MB / 1.274 GB, free: 288 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.948e-05/0.3811, allocations: 17.55 kB / 1.274 GB, free: 268 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.291e-05/0.3812, allocations: 35.42 kB / 1.274 GB, free: 232 kB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.3812, allocations: 3.938 kB / 1.274 GB, free: 228 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0272/0.4084, allocations: 4.11 MB / 1.278 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.166/8.575, allocations: 4.391 kB / 1.278 GB, free: 12.23 MB / 0.9981 GB " [Timeout remaining time 291] (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.274033705936745]