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.001066/0.001066, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001128/0.001128, allocations: 194.3 kB / 16.25 MB, free: 6.633 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.364/1.364, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.67/2.67, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 69.19 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3157, allocations: 157.4 MB / 1.052 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001742/0.3175, allocations: 0.805 MB / 1.053 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.3189, allocations: 1.268 MB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.087e-05/0.319, allocations: 3.938 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.565e-05/0.319, allocations: 0 / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.949e-05/0.3191, allocations: 19.84 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006744/0.3198, allocations: 221.3 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.3201, allocations: 267.5 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.534e-05/0.3202, allocations: 12.23 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.3203, allocations: 95.86 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.3204, allocations: 87.75 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.199e-05/0.3205, allocations: 24 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.032e-05/0.3206, allocations: 35.98 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.392e-05/0.3206, allocations: 31.91 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.3207, allocations: 99.73 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.3209, allocations: 219.6 kB / 1.056 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.321, allocations: 0 / 1.056 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.082e-06/0.321, allocations: 4 kB / 1.056 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.321, allocations: 0 / 1.056 GB, free: 5.461 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.0006465/0.3216, allocations: 0.4921 MB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.3217, allocations: 8.625 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.3217, allocations: 46.67 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.229e-05/0.3218, allocations: 20.84 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005277/0.3223, allocations: 252.3 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.3224, allocations: 12.38 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.314e-05/0.3224, allocations: 20.36 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.3226, allocations: 135.6 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.3226, allocations: 4 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.3227, allocations: 7.984 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.3227, allocations: 4 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.3228, allocations: 59.95 kB / 1.057 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006801/0.3235, allocations: 0.5123 MB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.3237, allocations: 157.2 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.363e-05/0.3238, allocations: 69.62 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.3238, allocations: 7.938 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003087/0.3241, allocations: 200.9 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=22): time 1.353e-06/0.3241, allocations: 0 / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22): time 0.0004875/0.3246, allocations: 313.2 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.3247, allocations: 97.03 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.098e-05/0.3248, allocations: 133.9 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.439e-05/0.3248, allocations: 37.7 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/0.3249, allocations: 96.84 kB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.3249, allocations: 47.36 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.325, allocations: 77.67 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.283e-05/0.3251, allocations: 318.8 kB / 1.059 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.3253, allocations: 88.23 kB / 1.059 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.3255, allocations: 160.2 kB / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.3258, allocations: 250.9 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3258, allocations: 0 / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005006/0.3263, allocations: 355.7 kB / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/0.3263, allocations: 67.39 kB / 1.059 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.3263, allocations: 4.375 kB / 1.059 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3264, allocations: 0 / 1.059 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.433e-05/0.3264, allocations: 31.86 kB / 1.059 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3265, allocations: 0 / 1.059 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003134/0.3268, allocations: 67.72 kB / 1.06 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/0.3268, allocations: 23.98 kB / 1.06 GB, free: 0.9766 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.0001133/0.3269, allocations: 144 kB / 1.06 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.327, allocations: 11.91 kB / 1.06 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.528e-05/0.327, allocations: 12.5 kB / 1.06 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.327, allocations: 7.938 kB / 1.06 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.327, allocations: 0 / 1.06 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.327, allocations: 7.984 kB / 1.06 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005129/0.3276, allocations: 0.6147 MB / 1.06 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3276, allocations: 0 / 1.06 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.463e-05/0.3276, allocations: 15.92 kB / 1.06 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3276, allocations: 3.938 kB / 1.06 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.3276, allocations: 8 kB / 1.06 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3277, allocations: 0 / 1.06 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3277, allocations: 0 / 1.06 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.328, allocations: 420.3 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.3281, allocations: 92.86 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.3281, allocations: 15.92 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.3282, allocations: 11.98 kB / 1.061 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/0.3283, allocations: 19.97 kB / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.3283, allocations: 19.92 kB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.541e-05/0.3284, allocations: 99.2 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3284, allocations: 4 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000333/0.3287, allocations: 55.98 kB / 1.061 GB, free: 15.33 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.0006175/0.3294, allocations: 0.9537 MB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000446/0.3298, allocations: 364.4 kB / 1.062 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3298, allocations: 0 / 1.062 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.33, allocations: 121.2 kB / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.3303, allocations: 33.69 kB / 1.062 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.3325, allocations: 2.288 MB / 1.065 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.3328, allocations: 0.7047 MB / 1.065 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.687e-05/0.3328, allocations: 21.53 kB / 1.065 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.232e-05/0.3329, allocations: 39.42 kB / 1.065 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3329, allocations: 0 / 1.065 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.285/1.618, allocations: 3.914 MB / 1.069 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003316/1.618, allocations: 214.4 kB / 1.069 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.091/4.709, allocations: 0 / 1.069 GB, free: 6.574 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