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.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.001641/0.001641, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001933/0.001933, allocations: 216.9 kB / 22.25 MB, free: 4.855 MB / 14.72 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 1.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 3.287/3.287, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 72.2 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3744, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.00213/0.3765, allocations: 0.7219 MB / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001954/0.3785, allocations: 1.276 MB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.244e-05/0.3786, allocations: 0 / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.688e-05/0.3786, allocations: 7.922 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.509e-05/0.3787, allocations: 19.8 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007886/0.3795, allocations: 255 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003635/0.3798, allocations: 251.5 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.3799, allocations: 12.22 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.3801, allocations: 103.9 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.3803, allocations: 87.67 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.865e-05/0.3804, allocations: 24 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.565e-05/0.3805, allocations: 31.98 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.243e-05/0.3805, allocations: 31.92 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.3806, allocations: 83.8 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.381, allocations: 227.6 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.381, allocations: 3.938 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.423e-06/0.381, allocations: 0 / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.381, allocations: 0 / 1.366 GB, free: 10.93 MB / 1.061 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.0007708/0.3818, allocations: 425.3 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.3818, allocations: 12.03 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.685e-05/0.3818, allocations: 38.73 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.245e-05/0.3819, allocations: 20.84 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006037/0.3825, allocations: 194.6 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.301e-05/0.3826, allocations: 8.375 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.188e-05/0.3826, allocations: 24.36 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.3829, allocations: 140.6 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3829, allocations: 0 / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.3829, allocations: 3.984 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.3829, allocations: 4 kB / 1.367 GB, free: 9.992 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.383, allocations: 63.83 kB / 1.367 GB, free: 9.93 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008332/0.3839, allocations: 455.9 kB / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.3842, allocations: 137.2 kB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.768e-05/0.3843, allocations: 49.84 kB / 1.368 GB, free: 9.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.3843, allocations: 7.984 kB / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004132/0.3847, allocations: 208.8 kB / 1.368 GB, free: 9 MB / 1.061 GB Notification: Performance of pre-optimization done (n=22): time 1.774e-06/0.3847, allocations: 0 / 1.368 GB, free: 9 MB / 1.061 GB Notification: Performance of matching and sorting (n=22): time 0.0006504/0.3854, allocations: 313.4 kB / 1.368 GB, free: 8.688 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.872e-05/0.3855, allocations: 89.03 kB / 1.369 GB, free: 8.582 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.3856, allocations: 137.3 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.236e-05/0.3857, allocations: 33.7 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.729e-05/0.3857, allocations: 96.64 kB / 1.369 GB, free: 8.305 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.369e-05/0.3858, allocations: 55.61 kB / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.386, allocations: 69.69 kB / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3862, allocations: 326.8 kB / 1.369 GB, free: 7.848 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.3864, allocations: 151.6 kB / 1.369 GB, free: 7.684 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/0.3867, allocations: 211.6 kB / 1.37 GB, free: 7.438 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003676/0.3871, allocations: 250.9 kB / 1.37 GB, free: 7.152 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.3871, allocations: 0 / 1.37 GB, free: 7.152 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007046/0.3878, allocations: 428.5 kB / 1.37 GB, free: 6.703 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.585e-05/0.3878, allocations: 67.33 kB / 1.37 GB, free: 6.625 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.3879, allocations: 4 kB / 1.37 GB, free: 6.621 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/0.3879, allocations: 7.938 kB / 1.37 GB, free: 6.613 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.388, allocations: 23.92 kB / 1.37 GB, free: 6.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.388, allocations: 7.938 kB / 1.37 GB, free: 6.582 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003753/0.3884, allocations: 72 kB / 1.37 GB, free: 6.512 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.3884, allocations: 15.98 kB / 1.37 GB, free: 6.496 MB / 1.061 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.0001762/0.3886, allocations: 140.4 kB / 1.371 GB, free: 6.352 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.3886, allocations: 15.94 kB / 1.371 GB, free: 6.336 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/0.3887, allocations: 16.42 kB / 1.371 GB, free: 6.316 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.3887, allocations: 7.938 kB / 1.371 GB, free: 6.309 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.3887, allocations: 4 kB / 1.371 GB, free: 6.305 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.3887, allocations: 7.984 kB / 1.371 GB, free: 6.297 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007749/0.3895, allocations: 0.571 MB / 1.371 GB, free: 5.676 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3895, allocations: 0 / 1.371 GB, free: 5.676 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.178e-05/0.3895, allocations: 15.92 kB / 1.371 GB, free: 5.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.3895, allocations: 3.938 kB / 1.371 GB, free: 5.656 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.175e-05/0.3896, allocations: 11.98 kB / 1.371 GB, free: 5.645 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.3896, allocations: 0 / 1.371 GB, free: 5.645 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3896, allocations: 0 / 1.371 GB, free: 5.645 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005318/0.3901, allocations: 434.7 kB / 1.372 GB, free: 5.207 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.481e-05/0.3902, allocations: 19.91 kB / 1.372 GB, free: 5.188 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.3902, allocations: 11.94 kB / 1.372 GB, free: 5.176 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.3903, allocations: 7.984 kB / 1.372 GB, free: 5.168 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/0.3904, allocations: 23.95 kB / 1.372 GB, free: 5.145 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.3904, allocations: 15.98 kB / 1.372 GB, free: 5.129 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.892e-05/0.3905, allocations: 95.27 kB / 1.372 GB, free: 5.035 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3905, allocations: 3.938 kB / 1.372 GB, free: 5.031 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003822/0.3909, allocations: 63.92 kB / 1.372 GB, free: 4.969 MB / 1.061 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.001016/0.3919, allocations: 0.9697 MB / 1.373 GB, free: 3.973 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000616/0.3925, allocations: 383.1 kB / 1.373 GB, free: 3.562 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3925, allocations: 0 / 1.373 GB, free: 3.562 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.3927, allocations: 87.83 kB / 1.373 GB, free: 3.477 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.3931, allocations: 25.84 kB / 1.373 GB, free: 3.453 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.3963, allocations: 2.545 MB / 1.376 GB, free: 0.7148 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.3965, allocations: 84.86 kB / 1.376 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.677e-05/0.3965, allocations: 25.47 kB / 1.376 GB, free: 0.5859 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.336e-05/0.3966, allocations: 39.42 kB / 1.376 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of SimCode: time 6.31e-07/0.3966, allocations: 0 / 1.376 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03451/0.4311, allocations: 4.919 MB / 1.381 GB, free: 11.8 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.79, allocations: 5.484 kB / 1.381 GB, free: 11.79 MB / 1.076 GB " [Timeout remaining time 288] (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/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: 18.649162161629647]