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.007771/0.007771, allocations: 101.7 kB / 15.73 MB, free: 6.469 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.001778/0.001779, allocations: 193.2 kB / 16.67 MB, free: 6.379 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.762/2.762, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 71.89 kB / 1.054 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.331, allocations: 157.4 MB / 1.207 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002076/0.3331, allocations: 0.7177 MB / 1.208 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001841/0.335, allocations: 1.271 MB / 1.209 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.231e-05/0.3351, allocations: 0 / 1.209 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.961e-05/0.3351, allocations: 3.938 kB / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.196e-05/0.3353, allocations: 19.8 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007341/0.336, allocations: 243.2 kB / 1.209 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000336/0.3363, allocations: 263.6 kB / 1.21 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3365, allocations: 20.16 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.3367, allocations: 99.8 kB / 1.21 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.3368, allocations: 95.73 kB / 1.21 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.282e-05/0.3369, allocations: 24 kB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.672e-05/0.337, allocations: 43.97 kB / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.337, allocations: 27.91 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.3372, allocations: 103.7 kB / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.3374, allocations: 219.6 kB / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.3374, allocations: 3.984 kB / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3375, allocations: 0 / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.3375, allocations: 0 / 1.21 GB, free: 6.914 MB / 0.9669 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.0008202/0.3383, allocations: 0.4946 MB / 1.211 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.3383, allocations: 8.625 kB / 1.211 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.367e-05/0.3384, allocations: 38.73 kB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.892e-05/0.3385, allocations: 16.84 kB / 1.211 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006222/0.3391, allocations: 257.5 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.3392, allocations: 20.3 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.821e-05/0.3392, allocations: 20.38 kB / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.3396, allocations: 135.6 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.3396, allocations: 4 kB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.3396, allocations: 3.984 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.3396, allocations: 4 kB / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.3398, allocations: 59.89 kB / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008196/0.3406, allocations: 0.5007 MB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.3409, allocations: 161.7 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.46e-05/0.341, allocations: 61.69 kB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.341, allocations: 0 / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004029/0.3414, allocations: 216.9 kB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=22): time 1.502e-06/0.3414, allocations: 0 / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22): time 0.0005597/0.342, allocations: 310.7 kB / 1.213 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.342, allocations: 89.05 kB / 1.213 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.3422, allocations: 137 kB / 1.213 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.389e-05/0.3422, allocations: 49.62 kB / 1.213 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.654e-05/0.3423, allocations: 96.55 kB / 1.213 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.422e-05/0.3424, allocations: 51.34 kB / 1.213 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.3425, allocations: 81.61 kB / 1.213 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3427, allocations: 326.8 kB / 1.213 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.3429, allocations: 88.23 kB / 1.213 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.3431, allocations: 152.7 kB / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.3434, allocations: 243 kB / 1.214 GB, free: 3 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3434, allocations: 4 kB / 1.214 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005514/0.3439, allocations: 351.4 kB / 1.214 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.608e-05/0.344, allocations: 71.39 kB / 1.214 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.344, allocations: 224 / 1.214 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.344, allocations: 8 kB / 1.214 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.391e-05/0.3441, allocations: 19.88 kB / 1.214 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.3442, allocations: 7.984 kB / 1.214 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003617/0.3445, allocations: 67.69 kB / 1.214 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.3446, allocations: 23.98 kB / 1.214 GB, free: 2.43 MB / 0.9669 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.0001404/0.3447, allocations: 140 kB / 1.215 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.3448, allocations: 15.89 kB / 1.215 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.798e-05/0.3448, allocations: 20.48 kB / 1.215 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.3448, allocations: 7.938 kB / 1.215 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3448, allocations: 0 / 1.215 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3448, allocations: 0 / 1.215 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006613/0.3455, allocations: 0.6147 MB / 1.215 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3455, allocations: 4 kB / 1.215 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-05/0.3456, allocations: 8 kB / 1.215 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.3456, allocations: 7.938 kB / 1.215 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.3456, allocations: 7.984 kB / 1.215 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3456, allocations: 0 / 1.215 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.3456, allocations: 0 / 1.215 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000415/0.346, allocations: 428.8 kB / 1.216 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.3461, allocations: 92.95 kB / 1.216 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/0.3461, allocations: 15.92 kB / 1.216 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.3463, allocations: 11.98 kB / 1.216 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.3464, allocations: 19.97 kB / 1.216 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.3464, allocations: 15.98 kB / 1.216 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.202e-05/0.3464, allocations: 95.27 kB / 1.216 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3464, allocations: 0 / 1.216 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003608/0.3468, allocations: 56 kB / 1.216 GB, free: 0.7852 MB / 0.9669 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.0007781/0.3476, allocations: 0.9629 MB / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000493/0.3481, allocations: 354.5 kB / 1.217 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3481, allocations: 448 / 1.217 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000188/0.3483, allocations: 122.6 kB / 1.217 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.3487, allocations: 26.73 kB / 1.217 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/0.3516, allocations: 2.299 MB / 1.22 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.3518, allocations: 0.7047 MB / 1.22 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.856e-05/0.3519, allocations: 17.55 kB / 1.22 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.376e-05/0.352, allocations: 39.42 kB / 1.22 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/0.352, allocations: 0 / 1.22 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.3735, allocations: 4.212 MB / 1.224 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/8.06, allocations: 11.98 kB / 1.224 GB, free: 7.953 MB / 0.9825 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) "" Variables in the reference:time,noThr.u,noThr.y,noThr.t,noThr.passed,thrTim.u,thrTim.y,thrTim.t,thrTim.passed,thrTim1.u,thrTim1.y,thrTim1.t,thrTim1.passed Variables in the result:booPul.period,booPul.shift,booPul.width,booPul.y,booPul1.period,booPul1.shift,booPul1.width,booPul1.y,noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,thrTim1.passed,thrTim1.t,thrTim1.u,thrTim1.y,time