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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006777/0.006777, allocations: 97.62 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 202.6 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.674/2.674, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 68.36 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2962, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001841/0.298, allocations: 0.7346 MB / 1.221 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.2996, allocations: 1.262 MB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.94e-05/0.2997, allocations: 0 / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.989e-05/0.2997, allocations: 7.922 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.283e-05/0.2998, allocations: 19.8 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000648/0.3005, allocations: 254.6 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.3008, allocations: 263.5 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.14e-05/0.3009, allocations: 16.22 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.301, allocations: 99.86 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.3011, allocations: 99.67 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.518e-05/0.3012, allocations: 24 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.372e-05/0.3013, allocations: 31.98 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.3013, allocations: 43.89 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.3014, allocations: 83.75 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.3017, allocations: 231.2 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.3017, allocations: 0 / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3017, allocations: 0 / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.197e-06/0.3017, allocations: 0 / 1.223 GB, free: 11.15 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.0006937/0.3024, allocations: 0.4906 MB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.3025, allocations: 8.031 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.874e-05/0.3025, allocations: 46.73 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.95e-05/0.3026, allocations: 20.84 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005552/0.3032, allocations: 244.4 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.3032, allocations: 20.3 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/0.3032, allocations: 20.38 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.3035, allocations: 139.6 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.3035, allocations: 0 / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.3035, allocations: 4 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3035, allocations: 0 / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.3037, allocations: 67.88 kB / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007873/0.3045, allocations: 0.5124 MB / 1.225 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.3047, allocations: 157.2 kB / 1.225 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.449e-05/0.3048, allocations: 61.69 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.3049, allocations: 7.984 kB / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003381/0.3052, allocations: 209.8 kB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=22): time 3.186e-06/0.3052, allocations: 0 / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22): time 0.0005282/0.3057, allocations: 317.4 kB / 1.225 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.3058, allocations: 89.05 kB / 1.226 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.845e-05/0.3059, allocations: 129.8 kB / 1.226 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/0.306, allocations: 42.08 kB / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/0.306, allocations: 104.7 kB / 1.226 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.3061, allocations: 51.62 kB / 1.226 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.3062, allocations: 77.67 kB / 1.226 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.3064, allocations: 330.8 kB / 1.226 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.3066, allocations: 84.23 kB / 1.226 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.3068, allocations: 160.7 kB / 1.227 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.3071, allocations: 243 kB / 1.227 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.3071, allocations: 0 / 1.227 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005598/0.3077, allocations: 356.8 kB / 1.227 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.117e-05/0.3077, allocations: 71.42 kB / 1.227 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.3077, allocations: 4 kB / 1.227 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3077, allocations: 4 kB / 1.227 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.168e-05/0.3078, allocations: 19.88 kB / 1.227 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.3079, allocations: 7.984 kB / 1.227 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.3082, allocations: 67.83 kB / 1.227 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.3083, allocations: 23.98 kB / 1.227 GB, free: 6.652 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.0001221/0.3084, allocations: 136 kB / 1.227 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.3084, allocations: 19.89 kB / 1.227 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/0.3085, allocations: 12.5 kB / 1.227 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.3085, allocations: 7.938 kB / 1.227 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3085, allocations: 0 / 1.227 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3085, allocations: 0 / 1.227 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006236/0.3091, allocations: 0.6148 MB / 1.228 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3091, allocations: 4.031 kB / 1.228 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.126e-05/0.3092, allocations: 15.94 kB / 1.228 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.3092, allocations: 3.938 kB / 1.228 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.3092, allocations: 7.984 kB / 1.228 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3092, allocations: 0 / 1.228 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3092, allocations: 4 kB / 1.228 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004228/0.3096, allocations: 432.4 kB / 1.228 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/0.3097, allocations: 92.95 kB / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.3098, allocations: 15.92 kB / 1.229 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.3099, allocations: 7.984 kB / 1.229 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.31, allocations: 23.97 kB / 1.229 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.31, allocations: 15.98 kB / 1.229 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.787e-05/0.31, allocations: 91.27 kB / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/0.31, allocations: 0 / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003321/0.3104, allocations: 60 kB / 1.229 GB, free: 5.008 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.0007612/0.3112, allocations: 0.9593 MB / 1.23 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004907/0.3117, allocations: 357 kB / 1.23 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3117, allocations: 0 / 1.23 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.3118, allocations: 115.8 kB / 1.23 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.3122, allocations: 33.84 kB / 1.23 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.3149, allocations: 2.294 MB / 1.232 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.3152, allocations: 0.7047 MB / 1.233 GB, free: 348 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.278e-05/0.3153, allocations: 21.55 kB / 1.233 GB, free: 328 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.057e-05/0.3154, allocations: 35.53 kB / 1.233 GB, free: 292 kB / 0.9825 GB Notification: Performance of SimCode: time 2.61e-07/0.3154, allocations: 3.938 kB / 1.233 GB, free: 288 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3476/0.663, allocations: 4.107 MB / 1.237 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.968/9.631, allocations: 10.78 kB / 1.237 GB, free: 12.27 MB / 0.9981 GB (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 --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) 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) Reference file matches