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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008726/0.0008725, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.005942/0.005942, allocations: 172.1 kB / 16.26 MB, free: 6.613 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.394/1.394, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.735/2.735, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003429, allocations: 15.78 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3586, allocations: 159.6 MB / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001051/0.3597, allocations: 469.4 kB / 1.059 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002046/0.3618, allocations: 1.287 MB / 1.06 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.682e-05/0.3619, allocations: 4 kB / 1.06 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.79e-05/0.3619, allocations: 7.922 kB / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.362, allocations: 11.86 kB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007832/0.3628, allocations: 223.8 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002935/0.3631, allocations: 231.5 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.3632, allocations: 16.23 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.3635, allocations: 87.8 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.3636, allocations: 83.75 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.531e-05/0.3637, allocations: 12 kB / 1.061 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.76e-05/0.3638, allocations: 28 kB / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.683e-05/0.3638, allocations: 27.89 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.364, allocations: 109.4 kB / 1.061 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.3643, allocations: 215.6 kB / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3643, allocations: 4 kB / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3643, allocations: 0 / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.3643, allocations: 0 / 1.062 GB, free: 2.031 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.00072/0.365, allocations: 458.6 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.3651, allocations: 11.97 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.51e-05/0.3651, allocations: 38.73 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.497e-05/0.3652, allocations: 24.83 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000674/0.3659, allocations: 264.2 kB / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/0.366, allocations: 16.36 kB / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.199e-05/0.366, allocations: 20.38 kB / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.3663, allocations: 135.6 kB / 1.062 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.3663, allocations: 0 / 1.062 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.3663, allocations: 0 / 1.062 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.3663, allocations: 4 kB / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.3665, allocations: 63.89 kB / 1.062 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008822/0.3674, allocations: 0.524 MB / 1.063 GB, free: 324 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.3677, allocations: 161.2 kB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.685e-05/0.3678, allocations: 61.69 kB / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.3678, allocations: 4 kB / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003842/0.3682, allocations: 209.4 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.823e-06/0.3682, allocations: 0 / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0005699/0.3688, allocations: 311.9 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.3688, allocations: 92.98 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.3689, allocations: 129.9 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.607e-05/0.369, allocations: 41.7 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.3691, allocations: 100.8 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.507e-05/0.3691, allocations: 55.34 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.34e-05/0.3692, allocations: 37.7 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3693, allocations: 326.8 kB / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.3695, allocations: 80.23 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.3697, allocations: 160.2 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000305/0.37, allocations: 247.4 kB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3701, allocations: 0 / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005772/0.3706, allocations: 354.1 kB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.206e-05/0.3707, allocations: 67.39 kB / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3707, allocations: 4 kB / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3707, allocations: 7.938 kB / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.83e-05/0.3708, allocations: 23.86 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.3709, allocations: 8.219 kB / 1.065 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.3713, allocations: 91.78 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.911e-05/0.3713, allocations: 20.06 kB / 1.065 GB, free: 13.58 MB / 0.8262 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.0001379/0.3714, allocations: 140 kB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.3715, allocations: 11.91 kB / 1.066 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.179e-05/0.3715, allocations: 12.5 kB / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.3715, allocations: 7.938 kB / 1.066 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.3716, allocations: 4 kB / 1.066 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.3716, allocations: 3.984 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006108/0.3722, allocations: 0.6147 MB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3722, allocations: 0 / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.534e-05/0.3723, allocations: 15.98 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.3723, allocations: 3.938 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.3723, allocations: 4 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3723, allocations: 3.984 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3723, allocations: 11.98 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004016/0.3727, allocations: 419.1 kB / 1.067 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.3728, allocations: 88.95 kB / 1.067 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.3728, allocations: 15.92 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.373, allocations: 7.984 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.373, allocations: 31.95 kB / 1.067 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.3731, allocations: 12 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.255e-05/0.3731, allocations: 99.2 kB / 1.067 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3731, allocations: 0 / 1.067 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003623/0.3735, allocations: 55.98 kB / 1.067 GB, free: 11.94 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.0007498/0.3743, allocations: 0.9653 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004818/0.3748, allocations: 348.5 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3748, allocations: 96 / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.3749, allocations: 127.8 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.3754, allocations: 28.41 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.3779, allocations: 2.277 MB / 1.071 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.3781, allocations: 0.7047 MB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.396e-05/0.3782, allocations: 17.55 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.991e-05/0.3783, allocations: 43.42 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of SimCode: time 2.104e-06/0.3783, allocations: 112 / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01468/0.393, allocations: 3.69 MB / 1.075 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/0.3932, allocations: 213.7 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/2.233, allocations: 0 / 1.075 GB, free: 3.414 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