Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_11_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.006921/0.006921, allocations: 102 kB / 15.73 MB, free: 5.551 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.001272/0.001272, allocations: 196.2 kB / 16.67 MB, free: 5.477 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.903/2.903, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 63.91 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8032/0.8052, allocations: 159.1 MB / 1.22 GB, free: 2 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002211/0.8075, allocations: 0.731 MB / 1.221 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001757/0.8092, allocations: 1.26 MB / 1.222 GB, free: 0 / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.613e-05/0.8093, allocations: 0 / 1.222 GB, free: 0 / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.757e-05/0.8094, allocations: 8 kB / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.74e-05/0.8095, allocations: 27.72 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000768/0.8103, allocations: 249 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003307/0.8106, allocations: 263.6 kB / 1.223 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.8107, allocations: 20.2 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.8109, allocations: 103.7 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.8111, allocations: 95.67 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.133e-05/0.8111, allocations: 24 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.8112, allocations: 43.98 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.061e-05/0.8113, allocations: 23.92 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.8114, allocations: 95.73 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.8117, allocations: 227 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.8117, allocations: 0 / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8118, allocations: 0 / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.8118, allocations: 0 / 1.223 GB, free: 14.85 MB / 0.9512 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.000836/0.8126, allocations: 0.4945 MB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.8127, allocations: 8.031 kB / 1.224 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.979e-05/0.8127, allocations: 46.69 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.182e-05/0.8128, allocations: 24.83 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006006/0.8134, allocations: 240.4 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.8134, allocations: 12.38 kB / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.81e-05/0.8135, allocations: 24.36 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.8138, allocations: 148.3 kB / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.8138, allocations: 0 / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.8138, allocations: 0 / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.8138, allocations: 4 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.814, allocations: 55.95 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008462/0.8148, allocations: 0.5201 MB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.8151, allocations: 157.2 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.8152, allocations: 65.72 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.8153, allocations: 0 / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003704/0.8156, allocations: 208.9 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=22): time 1.152e-06/0.8156, allocations: 0 / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22): time 0.0006739/0.8163, allocations: 314.8 kB / 1.225 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/0.8164, allocations: 93.05 kB / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.8165, allocations: 131.2 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.611e-05/0.8166, allocations: 37.7 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.121e-05/0.8167, allocations: 101 kB / 1.226 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.543e-05/0.8167, allocations: 51.78 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.8169, allocations: 69.69 kB / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.8171, allocations: 330.8 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.8172, allocations: 88.17 kB / 1.226 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.8175, allocations: 164.5 kB / 1.227 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/0.8178, allocations: 245.5 kB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.8178, allocations: 4 kB / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006287/0.8185, allocations: 360.9 kB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.465e-05/0.8186, allocations: 63.41 kB / 1.227 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.8186, allocations: 0 / 1.227 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.8186, allocations: 4 kB / 1.227 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.8187, allocations: 27.86 kB / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.8187, allocations: 4 kB / 1.227 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/0.8191, allocations: 67.81 kB / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.236e-05/0.8192, allocations: 24.03 kB / 1.227 GB, free: 10.35 MB / 0.9512 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.0001697/0.8193, allocations: 136 kB / 1.227 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.8194, allocations: 19.89 kB / 1.227 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.697e-05/0.8194, allocations: 20.48 kB / 1.227 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.8195, allocations: 11.94 kB / 1.227 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.8195, allocations: 0 / 1.227 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.8195, allocations: 0 / 1.227 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007531/0.8202, allocations: 0.6109 MB / 1.228 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.8202, allocations: 3.984 kB / 1.228 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.155e-05/0.8203, allocations: 4.094 kB / 1.228 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.8203, allocations: 15.81 kB / 1.228 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.8203, allocations: 11.98 kB / 1.228 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.8203, allocations: 0 / 1.228 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.8204, allocations: 0 / 1.228 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004883/0.8208, allocations: 424.5 kB / 1.228 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.095e-05/0.8209, allocations: 92.95 kB / 1.229 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.821, allocations: 11.94 kB / 1.229 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.8211, allocations: 15.92 kB / 1.229 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.115e-05/0.8212, allocations: 23.95 kB / 1.229 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.8212, allocations: 15.98 kB / 1.229 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.976e-05/0.8213, allocations: 97.84 kB / 1.229 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8213, allocations: 0 / 1.229 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003754/0.8217, allocations: 63.98 kB / 1.229 GB, free: 8.691 MB / 0.9512 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.0009528/0.8227, allocations: 0.9561 MB / 1.23 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005793/0.8233, allocations: 354.8 kB / 1.23 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.8233, allocations: 0 / 1.23 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.8234, allocations: 111.9 kB / 1.23 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.8239, allocations: 27.97 kB / 1.23 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.8268, allocations: 2.3 MB / 1.232 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.8271, allocations: 0.7047 MB / 1.233 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.14e-05/0.8272, allocations: 21.55 kB / 1.233 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.783e-05/0.8273, allocations: 35.42 kB / 1.233 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of SimCode: time 3.8e-07/0.8273, allocations: 0 / 1.233 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/0.855, allocations: 4.107 MB / 1.237 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.224/9.079, allocations: 10.09 kB / 1.237 GB, free: 15.96 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches