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.001984/0.001984, allocations: 108 kB / 15.61 MB, free: 152 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.002587/0.002587, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.457/1.457, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.856/2.856, allocations: 469.8 MB / 0.7424 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002062, allocations: 73.45 kB / 0.9087 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2879, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002024/0.2899, allocations: 0.7325 MB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001873/0.2918, allocations: 1.254 MB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.575e-05/0.2919, allocations: 0 / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.046e-05/0.292, allocations: 7.875 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.574e-05/0.2921, allocations: 19.84 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008134/0.2929, allocations: 254.7 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003492/0.2933, allocations: 263.5 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.2934, allocations: 16.22 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.2935, allocations: 95.86 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.2937, allocations: 87.72 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.191e-05/0.2937, allocations: 27.98 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.612e-05/0.2938, allocations: 35.98 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.152e-05/0.2939, allocations: 31.91 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.294, allocations: 95.72 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.2943, allocations: 227.6 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2943, allocations: 0 / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2943, allocations: 0 / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.2943, allocations: 0 / 1.067 GB, free: 11.07 MB / 0.8262 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.000738/0.2951, allocations: 498.6 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.2951, allocations: 8.031 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.032e-05/0.2952, allocations: 46.73 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.817e-05/0.2953, allocations: 20.83 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006654/0.2959, allocations: 256.2 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.296, allocations: 20.36 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.544e-05/0.296, allocations: 24.38 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.2963, allocations: 129.1 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2963, allocations: 0 / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.2963, allocations: 8 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2963, allocations: 0 / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.2965, allocations: 63.89 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008381/0.2973, allocations: 0.5046 MB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.2976, allocations: 157.2 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.2977, allocations: 73.69 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.2978, allocations: 0 / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003887/0.2982, allocations: 208.9 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.412e-06/0.2982, allocations: 0 / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0005756/0.2987, allocations: 313.4 kB / 1.069 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.2988, allocations: 85.05 kB / 1.069 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.2989, allocations: 139.6 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/0.299, allocations: 37.7 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.915e-05/0.2991, allocations: 104.6 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.071e-05/0.2991, allocations: 47.44 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.2993, allocations: 77.67 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.2994, allocations: 322.8 kB / 1.07 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.2996, allocations: 84.23 kB / 1.07 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.2999, allocations: 152.9 kB / 1.07 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/0.3002, allocations: 252.7 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3002, allocations: 4 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006091/0.3008, allocations: 364.5 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.684e-05/0.3009, allocations: 63.39 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3009, allocations: 4 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3009, allocations: 4 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-05/0.301, allocations: 23.88 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.301, allocations: 8.062 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003757/0.3014, allocations: 71.98 kB / 1.071 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.896e-05/0.3015, allocations: 12 kB / 1.071 GB, free: 6.582 MB / 0.8262 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.0001401/0.3016, allocations: 144 kB / 1.071 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.3016, allocations: 19.8 kB / 1.071 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/0.3017, allocations: 16.5 kB / 1.071 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.3017, allocations: 7.938 kB / 1.071 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3017, allocations: 0 / 1.071 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3017, allocations: 3.984 kB / 1.071 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006685/0.3024, allocations: 0.6122 MB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3024, allocations: 0 / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.217e-05/0.3025, allocations: 8 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.3025, allocations: 7.938 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.3025, allocations: 15.98 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3025, allocations: 4 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3025, allocations: 0 / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004501/0.303, allocations: 419.6 kB / 1.072 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.417e-05/0.303, allocations: 92.86 kB / 1.072 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.3031, allocations: 15.92 kB / 1.072 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.3032, allocations: 15.98 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.141e-05/0.3033, allocations: 23.97 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.3033, allocations: 20.02 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.551e-05/0.3034, allocations: 99.95 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3034, allocations: 0 / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003563/0.3038, allocations: 48 kB / 1.073 GB, free: 4.93 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.000814/0.3046, allocations: 0.9621 MB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005425/0.3051, allocations: 365.1 kB / 1.074 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3052, allocations: 0 / 1.074 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.3053, allocations: 115.9 kB / 1.074 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.3057, allocations: 25.98 kB / 1.074 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.3085, allocations: 2.263 MB / 1.076 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.3088, allocations: 0.7047 MB / 1.077 GB, free: 300 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.136e-05/0.3089, allocations: 21.55 kB / 1.077 GB, free: 280 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.547e-05/0.309, allocations: 35.42 kB / 1.077 GB, free: 244 kB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.309, allocations: 0 / 1.077 GB, free: 244 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.3343, allocations: 4.063 MB / 1.081 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.573/7.908, allocations: 2 kB / 1.081 GB, free: 12.26 MB / 0.8419 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 400 --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