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.001383/0.001383, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001487/0.001488, allocations: 194.6 kB / 16.14 MB, free: 6.711 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.269/1.269, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.558/2.558, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 64.81 kB / 0.8985 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2989, allocations: 157.4 MB / 1.052 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001948/0.3009, allocations: 0.7935 MB / 1.053 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.3024, allocations: 1.291 MB / 1.054 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.973e-05/0.3025, allocations: 0 / 1.054 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.564e-05/0.3026, allocations: 7.922 kB / 1.054 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.233e-05/0.3026, allocations: 11.88 kB / 1.054 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005823/0.3032, allocations: 223.7 kB / 1.054 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.3035, allocations: 227.5 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.233e-05/0.3035, allocations: 20.2 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.3037, allocations: 91.8 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.3038, allocations: 83.7 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.003e-05/0.3038, allocations: 12 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.126e-05/0.3039, allocations: 31.98 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.067e-05/0.3039, allocations: 27.91 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.3041, allocations: 83.73 kB / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.3043, allocations: 219.6 kB / 1.055 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.3043, allocations: 0 / 1.055 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.82e-07/0.3043, allocations: 0 / 1.055 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.3043, allocations: 0 / 1.055 GB, free: 5.09 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.0006173/0.3049, allocations: 494.6 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.305, allocations: 11.97 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.769e-05/0.305, allocations: 38.75 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.048e-05/0.3051, allocations: 24.83 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005667/0.3057, allocations: 260.2 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.3057, allocations: 16.36 kB / 1.056 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/0.3057, allocations: 20.38 kB / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.306, allocations: 131.6 kB / 1.056 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-06/0.306, allocations: 4 kB / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.306, allocations: 4 kB / 1.056 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.306, allocations: 0 / 1.056 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.3061, allocations: 67.88 kB / 1.056 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007276/0.3069, allocations: 0.5124 MB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.3071, allocations: 149.2 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.803e-05/0.3072, allocations: 65.69 kB / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.3072, allocations: 3.984 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003309/0.3076, allocations: 215 kB / 1.057 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=22): time 1.412e-06/0.3076, allocations: 0 / 1.057 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22): time 0.0005245/0.3081, allocations: 314.5 kB / 1.057 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.3082, allocations: 89.05 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.3083, allocations: 135.8 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.883e-05/0.3083, allocations: 37.7 kB / 1.058 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.782e-05/0.3084, allocations: 105 kB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.3084, allocations: 51.34 kB / 1.058 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.3086, allocations: 73.67 kB / 1.058 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.727e-05/0.3087, allocations: 326.8 kB / 1.058 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.3088, allocations: 84.17 kB / 1.058 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.3091, allocations: 152.2 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.3093, allocations: 246 kB / 1.059 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.3094, allocations: 3.938 kB / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005365/0.3099, allocations: 356.8 kB / 1.059 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/0.3099, allocations: 67.42 kB / 1.059 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.31, allocations: 4 kB / 1.059 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.31, allocations: 4 kB / 1.059 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.872e-05/0.3101, allocations: 23.88 kB / 1.059 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3101, allocations: 7.984 kB / 1.059 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003343/0.3104, allocations: 63.78 kB / 1.059 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.3105, allocations: 23.98 kB / 1.059 GB, free: 0.6094 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.0001269/0.3106, allocations: 136 kB / 1.059 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.3106, allocations: 15.89 kB / 1.059 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.748e-05/0.3107, allocations: 16.5 kB / 1.059 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3107, allocations: 3.938 kB / 1.059 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3107, allocations: 4 kB / 1.059 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3107, allocations: 4 kB / 1.059 GB, free: 436 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005685/0.3113, allocations: 0.6186 MB / 1.06 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3113, allocations: 4 kB / 1.06 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.07e-05/0.3113, allocations: 4.094 kB / 1.06 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.3113, allocations: 11.88 kB / 1.06 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.3114, allocations: 7.984 kB / 1.06 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.3114, allocations: 7.938 kB / 1.06 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3114, allocations: 0 / 1.06 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/0.3118, allocations: 422.5 kB / 1.06 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.516e-05/0.3118, allocations: 92.86 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.3119, allocations: 11.92 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.312, allocations: 11.98 kB / 1.061 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.3121, allocations: 23.97 kB / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.3121, allocations: 15.98 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.543e-05/0.3121, allocations: 99.27 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3122, allocations: 0 / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003459/0.3125, allocations: 51.98 kB / 1.061 GB, free: 14.96 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.0007129/0.3132, allocations: 0.9645 MB / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004479/0.3137, allocations: 354.5 kB / 1.062 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3137, allocations: 0 / 1.062 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.3139, allocations: 119.9 kB / 1.062 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.3142, allocations: 21.53 kB / 1.062 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.3167, allocations: 2.283 MB / 1.064 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.3169, allocations: 0.7049 MB / 1.065 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.871e-05/0.317, allocations: 17.55 kB / 1.065 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/0.317, allocations: 43.69 kB / 1.065 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3171, allocations: 0 / 1.065 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01257/0.3296, allocations: 3.761 MB / 1.069 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/0.3298, allocations: 208 kB / 1.069 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/2.036, allocations: 0 / 1.069 GB, free: 6.359 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