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) 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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.654/2.654, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001362, allocations: 70.22 kB / 0.8992 GB, free: 36.86 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3497, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002862/0.3527, allocations: 0.7382 MB / 1.054 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001923/0.3546, allocations: 1.271 MB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.3548, allocations: 4 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.267e-05/0.3549, allocations: 3.938 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.355, allocations: 19.8 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000947/0.356, allocations: 254 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003486/0.3563, allocations: 259.6 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.3565, allocations: 20.17 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.3566, allocations: 95.86 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.3568, allocations: 87.75 kB / 1.056 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.483e-05/0.3568, allocations: 24 kB / 1.056 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.357, allocations: 35.98 kB / 1.056 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.313e-05/0.357, allocations: 35.89 kB / 1.056 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.3571, allocations: 95.72 kB / 1.056 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.3574, allocations: 215.7 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3574, allocations: 11.94 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3574, allocations: 0 / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.3575, allocations: 0 / 1.056 GB, free: 5.117 MB / 0.8106 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.000721/0.3582, allocations: 498.6 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.3582, allocations: 8.625 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.683e-05/0.3583, allocations: 46.67 kB / 1.057 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.96e-05/0.3584, allocations: 16.84 kB / 1.057 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006232/0.359, allocations: 252.3 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.359, allocations: 12.38 kB / 1.057 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.2e-05/0.3591, allocations: 20.36 kB / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.3593, allocations: 135.6 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3593, allocations: 0 / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.3594, allocations: 11.98 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.3594, allocations: 4 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.3595, allocations: 55.95 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007561/0.3603, allocations: 0.5123 MB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.3605, allocations: 157.2 kB / 1.058 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.447e-05/0.3606, allocations: 69.62 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-06/0.3607, allocations: 4 kB / 1.058 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004097/0.3611, allocations: 207.1 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=22): time 1.473e-06/0.3611, allocations: 0 / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22): time 0.0005392/0.3616, allocations: 315.8 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.3617, allocations: 93.03 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.403e-05/0.3618, allocations: 129.9 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/0.3618, allocations: 45.7 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.042e-05/0.3619, allocations: 92.7 kB / 1.059 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.606e-05/0.362, allocations: 55.33 kB / 1.059 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.3621, allocations: 73.69 kB / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.342e-05/0.3622, allocations: 322.8 kB / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.3624, allocations: 88.22 kB / 1.059 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.3626, allocations: 156.2 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.3629, allocations: 248.9 kB / 1.059 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3629, allocations: 0 / 1.059 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005294/0.3634, allocations: 360.6 kB / 1.06 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.744e-05/0.3635, allocations: 63.39 kB / 1.06 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3635, allocations: 4.219 kB / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.3635, allocations: 8 kB / 1.06 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.632e-05/0.3636, allocations: 23.86 kB / 1.06 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3636, allocations: 4 kB / 1.06 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.364, allocations: 63.78 kB / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.364, allocations: 19.98 kB / 1.06 GB, free: 0.6445 MB / 0.8106 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.0001348/0.3641, allocations: 148 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.3642, allocations: 11.91 kB / 1.06 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.876e-05/0.3642, allocations: 12.5 kB / 1.06 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.3642, allocations: 11.92 kB / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3642, allocations: 0 / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3643, allocations: 0 / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005949/0.3649, allocations: 0.6226 MB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3649, allocations: 0 / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.864e-05/0.3649, allocations: 15.92 kB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.3649, allocations: 3.938 kB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.365, allocations: 11.98 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.365, allocations: 0 / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.365, allocations: 4 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003812/0.3654, allocations: 410.6 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.3654, allocations: 96.84 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.3655, allocations: 11.94 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.3656, allocations: 11.98 kB / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.3657, allocations: 27.95 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.3657, allocations: 11.94 kB / 1.061 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.314e-05/0.3658, allocations: 98.02 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.503e-06/0.3658, allocations: 0 / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003555/0.3661, allocations: 63.92 kB / 1.061 GB, free: 14.99 MB / 0.8262 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.0006921/0.3668, allocations: 0.9632 MB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004763/0.3673, allocations: 354.8 kB / 1.063 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3673, allocations: 4.125 kB / 1.063 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.3675, allocations: 115.8 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.3679, allocations: 28.25 kB / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/0.3703, allocations: 2.265 MB / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.3706, allocations: 0.7086 MB / 1.066 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.983e-05/0.3707, allocations: 17.55 kB / 1.066 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.544e-05/0.3707, allocations: 39.42 kB / 1.066 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of SimCode: time 6.71e-07/0.3707, allocations: 0 / 1.066 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/0.3948, allocations: 4.055 MB / 1.07 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.299/7.694, allocations: 16.38 kB / 1.07 GB, free: 6.324 MB / 0.8262 GB (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 --timeout=50 --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) 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) Reference file matches