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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001953/0.001953, allocations: 112.5 kB / 15.73 MB, free: 76 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.002169/0.00217, allocations: 189.1 kB / 16.67 MB, free: 6.582 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.895/2.895, allocations: 482.4 MB / 0.7548 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 67.89 kB / 1.083 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2958, allocations: 162.2 MB / 1.241 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001779/0.2977, allocations: 0.749 MB / 1.242 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.2993, allocations: 1.248 MB / 1.243 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.992e-05/0.2993, allocations: 0 / 1.243 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.282e-05/0.2994, allocations: 7.875 kB / 1.243 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.2e-05/0.2995, allocations: 19.84 kB / 1.243 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006583/0.3001, allocations: 253.8 kB / 1.244 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000314/0.3004, allocations: 259.6 kB / 1.244 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.977e-05/0.3005, allocations: 20.22 kB / 1.244 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.3007, allocations: 103.8 kB / 1.244 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.3008, allocations: 91.75 kB / 1.244 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.864e-05/0.3009, allocations: 27.94 kB / 1.244 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.237e-05/0.301, allocations: 39.97 kB / 1.244 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.338e-05/0.301, allocations: 31.91 kB / 1.244 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.3012, allocations: 91.73 kB / 1.244 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.3014, allocations: 223.3 kB / 1.245 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.3015, allocations: 0 / 1.245 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3015, allocations: 0 / 1.245 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.3015, allocations: 4 kB / 1.245 GB, free: 7.066 MB / 0.9981 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.0007217/0.3022, allocations: 0.4906 MB / 1.245 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3022, allocations: 12.03 kB / 1.245 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.664e-05/0.3023, allocations: 38.73 kB / 1.245 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.43e-05/0.3024, allocations: 20.88 kB / 1.245 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006035/0.303, allocations: 260.3 kB / 1.245 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.303, allocations: 16.38 kB / 1.245 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.865e-05/0.3031, allocations: 20.36 kB / 1.245 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.3033, allocations: 127.6 kB / 1.245 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.3033, allocations: 7.938 kB / 1.245 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.3034, allocations: 7.969 kB / 1.245 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3034, allocations: 0 / 1.245 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.3035, allocations: 63.89 kB / 1.246 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008028/0.3043, allocations: 0.5163 MB / 1.246 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.3046, allocations: 161.2 kB / 1.246 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.3047, allocations: 61.69 kB / 1.246 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.3048, allocations: 4 kB / 1.246 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003768/0.3051, allocations: 211.4 kB / 1.246 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=22): time 1.293e-06/0.3052, allocations: 0 / 1.246 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22): time 0.000583/0.3057, allocations: 316.4 kB / 1.247 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/0.3058, allocations: 93.03 kB / 1.247 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.3059, allocations: 126.1 kB / 1.247 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.601e-05/0.306, allocations: 37.7 kB / 1.247 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.94e-05/0.3061, allocations: 100.6 kB / 1.247 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.683e-05/0.3061, allocations: 59.56 kB / 1.247 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.3063, allocations: 69.69 kB / 1.247 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3064, allocations: 326.8 kB / 1.248 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.3066, allocations: 92.22 kB / 1.248 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.3069, allocations: 148.2 kB / 1.248 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.3072, allocations: 243 kB / 1.248 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3072, allocations: 8.312 kB / 1.248 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005958/0.3078, allocations: 355.7 kB / 1.248 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.892e-05/0.3079, allocations: 71.39 kB / 1.248 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3079, allocations: 0 / 1.248 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3079, allocations: 4 kB / 1.248 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.192e-05/0.308, allocations: 23.86 kB / 1.248 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.308, allocations: 4 kB / 1.248 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003696/0.3084, allocations: 72.05 kB / 1.249 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.3084, allocations: 19.98 kB / 1.249 GB, free: 2.574 MB / 0.9981 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.0001522/0.3086, allocations: 144.5 kB / 1.249 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.3086, allocations: 15.91 kB / 1.249 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.776e-05/0.3087, allocations: 20.5 kB / 1.249 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.3087, allocations: 7.922 kB / 1.249 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.3087, allocations: 4 kB / 1.249 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3087, allocations: 0 / 1.249 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007041/0.3094, allocations: 0.607 MB / 1.249 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3095, allocations: 4 kB / 1.249 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.286e-05/0.3095, allocations: 7.984 kB / 1.249 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.3095, allocations: 7.938 kB / 1.249 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.3095, allocations: 7.984 kB / 1.249 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.739e-06/0.3096, allocations: 4 kB / 1.249 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3096, allocations: 3.938 kB / 1.249 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004814/0.31, allocations: 418.5 kB / 1.25 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.3101, allocations: 92.98 kB / 1.25 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.3102, allocations: 11.94 kB / 1.25 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.3103, allocations: 11.98 kB / 1.25 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.881e-05/0.3104, allocations: 27.95 kB / 1.25 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.3104, allocations: 12 kB / 1.25 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.393e-05/0.3105, allocations: 99.27 kB / 1.25 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3105, allocations: 0 / 1.25 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003651/0.3109, allocations: 55.94 kB / 1.25 GB, free: 0.9258 MB / 0.9981 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.5062/0.817, allocations: 0.97 MB / 1.251 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006339/0.8177, allocations: 349.2 kB / 1.251 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.8177, allocations: 0.7812 kB / 1.251 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.8179, allocations: 114.7 kB / 1.251 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/0.8184, allocations: 27 kB / 1.251 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.8207, allocations: 2.288 MB / 1.254 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.8209, allocations: 0.7038 MB / 1.254 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.773e-05/0.8209, allocations: 19.5 kB / 1.254 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.485e-05/0.821, allocations: 37.48 kB / 1.254 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.821, allocations: 3.281 kB / 1.254 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.848, allocations: 4.102 MB / 1.258 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.818, allocations: 6.984 kB / 1.258 GB, free: 12.14 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.csv","/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