Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_9_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.008616/0.008616, allocations: 104.7 kB / 15.74 MB, free: 6.492 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.001513/0.001513, allocations: 191.7 kB / 16.68 MB, free: 6.375 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.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.411/2.411, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 71.17 kB / 0.9504 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3129, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001985/0.3149, allocations: 0.7355 MB / 1.088 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.3165, allocations: 1.266 MB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.555e-05/0.3166, allocations: 4 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.152e-05/0.3166, allocations: 7.875 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.319e-05/0.3167, allocations: 19.84 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006846/0.3174, allocations: 250.7 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000267/0.3177, allocations: 263.6 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.569e-05/0.3178, allocations: 24.16 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.3179, allocations: 107.8 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.3181, allocations: 91.73 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.3181, allocations: 24 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.097e-05/0.3182, allocations: 35.98 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.434e-05/0.3183, allocations: 31.91 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.3184, allocations: 91.73 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.3186, allocations: 226.2 kB / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3186, allocations: 4 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3186, allocations: 0 / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.3187, allocations: 0 / 1.091 GB, free: 14.82 MB / 0.8575 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.0007292/0.3194, allocations: 0.4915 MB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3194, allocations: 8.031 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.121e-05/0.3195, allocations: 42.73 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.789e-05/0.3196, allocations: 20.83 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005825/0.3201, allocations: 252.2 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.3202, allocations: 12.38 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.17e-05/0.3202, allocations: 20.36 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.3205, allocations: 131.6 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3205, allocations: 0 / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.3205, allocations: 15.92 kB / 1.092 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3205, allocations: 4 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.3207, allocations: 59.95 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007844/0.3215, allocations: 0.5123 MB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.3217, allocations: 157.2 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.729e-05/0.3218, allocations: 65.69 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.3219, allocations: 7.938 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000316/0.3222, allocations: 202 kB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.3222, allocations: 0 / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22): time 0.0005342/0.3227, allocations: 317.2 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.3228, allocations: 93.03 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.527e-05/0.3229, allocations: 130 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.243e-05/0.323, allocations: 41.64 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.454e-05/0.323, allocations: 100.6 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.3231, allocations: 47.59 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.3232, allocations: 77.67 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3233, allocations: 322.8 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.3235, allocations: 88.22 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.3237, allocations: 152.7 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.324, allocations: 246.9 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.324, allocations: 0 / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005524/0.3246, allocations: 360.6 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.981e-05/0.3246, allocations: 63.39 kB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.3246, allocations: 4 kB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3247, allocations: 4 kB / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.402e-05/0.3248, allocations: 32.08 kB / 1.094 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3248, allocations: 4.375 kB / 1.094 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/0.3252, allocations: 63.78 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.3252, allocations: 15.98 kB / 1.095 GB, free: 10.35 MB / 0.8575 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.0001438/0.3254, allocations: 148 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.3254, allocations: 23.73 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.853e-05/0.3254, allocations: 12.5 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.3255, allocations: 7.938 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3255, allocations: 0 / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3255, allocations: 3.984 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006601/0.3261, allocations: 0.6048 MB / 1.095 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3261, allocations: 0 / 1.095 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.108e-05/0.3262, allocations: 15.98 kB / 1.095 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.3262, allocations: 7.938 kB / 1.095 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.3262, allocations: 11.94 kB / 1.095 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.3263, allocations: 3.984 kB / 1.095 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3263, allocations: 7.938 kB / 1.095 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004035/0.3267, allocations: 413.6 kB / 1.096 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.3267, allocations: 96.84 kB / 1.096 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.3268, allocations: 11.94 kB / 1.096 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.3269, allocations: 15.98 kB / 1.096 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.327, allocations: 23.97 kB / 1.096 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.327, allocations: 11.98 kB / 1.096 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.356e-05/0.3271, allocations: 99.14 kB / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3271, allocations: 0 / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003555/0.3274, allocations: 55.98 kB / 1.096 GB, free: 8.699 MB / 0.8575 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.0007351/0.3282, allocations: 0.9653 MB / 1.097 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004943/0.3287, allocations: 342.5 kB / 1.097 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3287, allocations: 0 / 1.097 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.3289, allocations: 120.3 kB / 1.097 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.3292, allocations: 34.38 kB / 1.098 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.3319, allocations: 2.274 MB / 1.1 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.3322, allocations: 0.7047 MB / 1.1 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.562e-05/0.3323, allocations: 21.55 kB / 1.1 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.85e-05/0.3323, allocations: 43.36 kB / 1.1 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of SimCode: time 5.21e-07/0.3323, allocations: 0 / 1.1 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.3551, allocations: 4.094 MB / 1.104 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/8.226, allocations: 14.7 kB / 1.104 GB, free: 15.98 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches