Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001763/0.001763, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002087/0.002087, allocations: 216.2 kB / 22.26 MB, free: 5.078 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.984/2.984, allocations: 476.7 MB / 0.7707 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_11_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.002055/0.002055, allocations: 64.16 kB / 1.117 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.372, allocations: 169.9 MB / 1.283 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002034/0.374, allocations: 0.7485 MB / 1.284 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001869/0.3759, allocations: 1.293 MB / 1.285 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.071e-05/0.376, allocations: 0 / 1.285 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.168e-05/0.376, allocations: 7.922 kB / 1.285 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.389e-05/0.3761, allocations: 23.8 kB / 1.285 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007873/0.3769, allocations: 247 kB / 1.286 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003326/0.3772, allocations: 251.6 kB / 1.286 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.3773, allocations: 24.14 kB / 1.286 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.3775, allocations: 95.81 kB / 1.286 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.3776, allocations: 103.7 kB / 1.286 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.306e-05/0.3777, allocations: 20 kB / 1.286 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.529e-05/0.3778, allocations: 35.98 kB / 1.286 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.671e-05/0.3778, allocations: 35.91 kB / 1.286 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.378, allocations: 87.75 kB / 1.286 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003031/0.3783, allocations: 227.5 kB / 1.286 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3783, allocations: 0 / 1.286 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3783, allocations: 0 / 1.286 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.3783, allocations: 0 / 1.286 GB, free: 0.6289 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.0007541/0.379, allocations: 441.2 kB / 1.287 GB, free: 156 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.3791, allocations: 8.031 kB / 1.287 GB, free: 148 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.774e-05/0.3791, allocations: 38.73 kB / 1.287 GB, free: 100 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.52e-05/0.3792, allocations: 24.89 kB / 1.287 GB, free: 76 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005884/0.3798, allocations: 194.5 kB / 1.287 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.3798, allocations: 12.38 kB / 1.287 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.21e-05/0.3799, allocations: 20.36 kB / 1.287 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.3801, allocations: 139.5 kB / 1.287 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3801, allocations: 0 / 1.287 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.3801, allocations: 0 / 1.287 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3802, allocations: 4 kB / 1.287 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.3803, allocations: 59.95 kB / 1.287 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008369/0.3811, allocations: 499.7 kB / 1.288 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.3814, allocations: 137.2 kB / 1.288 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.839e-05/0.3815, allocations: 57.69 kB / 1.288 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.3815, allocations: 4 kB / 1.288 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004133/0.3819, allocations: 204.8 kB / 1.288 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=22): time 1.403e-06/0.3819, allocations: 0 / 1.288 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22): time 0.0005849/0.3825, allocations: 310.4 kB / 1.289 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.3826, allocations: 89.03 kB / 1.289 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.3827, allocations: 131.1 kB / 1.289 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/0.3827, allocations: 41.73 kB / 1.289 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.864e-05/0.3828, allocations: 96.58 kB / 1.289 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.3e-05/0.3829, allocations: 59.72 kB / 1.289 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.383, allocations: 77.69 kB / 1.289 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3832, allocations: 322.8 kB / 1.289 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.3834, allocations: 88.22 kB / 1.289 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.3836, allocations: 156.7 kB / 1.29 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/0.3839, allocations: 244.4 kB / 1.29 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3839, allocations: 4 kB / 1.29 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005949/0.3845, allocations: 357.8 kB / 1.29 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.167e-05/0.3846, allocations: 67.39 kB / 1.29 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3846, allocations: 0 / 1.29 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.3846, allocations: 4 kB / 1.29 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.99e-05/0.3847, allocations: 27.86 kB / 1.29 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.3847, allocations: 7.938 kB / 1.29 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003435/0.3851, allocations: 68.05 kB / 1.29 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/0.3851, allocations: 20.06 kB / 1.29 GB, free: 12.36 MB / 0.9981 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.0001376/0.3853, allocations: 139.8 kB / 1.29 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.3853, allocations: 11.95 kB / 1.29 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.618e-05/0.3853, allocations: 24.42 kB / 1.29 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.3853, allocations: 7.922 kB / 1.29 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.3853, allocations: 4 kB / 1.291 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3853, allocations: 0 / 1.291 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006573/0.386, allocations: 0.5891 MB / 1.291 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.386, allocations: 0 / 1.291 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.417e-05/0.3861, allocations: 11.92 kB / 1.291 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.3861, allocations: 7.938 kB / 1.291 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.3861, allocations: 15.94 kB / 1.291 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.455e-06/0.3861, allocations: 11.97 kB / 1.291 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3861, allocations: 0 / 1.291 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004393/0.3865, allocations: 410.6 kB / 1.292 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/0.3865, allocations: 19.83 kB / 1.292 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.3866, allocations: 11.94 kB / 1.292 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.3867, allocations: 11.98 kB / 1.292 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.149e-05/0.3868, allocations: 27.95 kB / 1.292 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.3868, allocations: 15.98 kB / 1.292 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.246e-05/0.3869, allocations: 91.27 kB / 1.292 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3869, allocations: 4 kB / 1.292 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003557/0.3873, allocations: 59.92 kB / 1.292 GB, free: 10.83 MB / 0.9981 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.0008535/0.3881, allocations: 0.9646 MB / 1.293 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005283/0.3886, allocations: 314.5 kB / 1.293 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3886, allocations: 0 / 1.293 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.3888, allocations: 87.88 kB / 1.293 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.3892, allocations: 28.41 kB / 1.293 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002848/0.392, allocations: 2.281 MB / 1.295 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.3924, allocations: 0.7086 MB / 1.296 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.413e-05/0.3924, allocations: 17.48 kB / 1.296 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.693e-05/0.3925, allocations: 39.42 kB / 1.296 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.3925, allocations: 0 / 1.296 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03379/0.4263, allocations: 4.351 MB / 1.3 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.45, allocations: 4.172 kB / 1.3 GB, free: 1.984 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.327633505919948]