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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001558/0.001558, 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.001845/0.001845, allocations: 194.6 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.326/1.326, 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.0.1-master/package.mo): time 2.579/2.579, allocations: 469.4 MB / 0.742 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 64.77 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2867, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002097/0.2888, allocations: 0.7259 MB / 1.064 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001764/0.2906, allocations: 1.269 MB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.93e-05/0.2908, allocations: 0 / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.18e-05/0.2908, allocations: 11.86 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.796e-05/0.2909, allocations: 15.86 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008158/0.2918, allocations: 244.8 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.2921, allocations: 267.5 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.2922, allocations: 12.23 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.2924, allocations: 95.86 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.2926, allocations: 87.75 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.985e-05/0.2927, allocations: 24 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.2928, allocations: 43.92 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.485e-05/0.2928, allocations: 35.89 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.293, allocations: 87.75 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.2932, allocations: 219.6 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.2933, allocations: 4 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2933, allocations: 0 / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.2933, allocations: 0 / 1.067 GB, free: 11.35 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.0007224/0.294, allocations: 0.4908 MB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2941, allocations: 8.031 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.293e-05/0.2941, allocations: 42.73 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.634e-05/0.2942, allocations: 20.78 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006015/0.2948, allocations: 256 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.2948, allocations: 12.38 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/0.2949, allocations: 20.36 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.2951, allocations: 139.6 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.2951, allocations: 0 / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.2951, allocations: 11.97 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.2951, allocations: 0 / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.2953, allocations: 63.89 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007786/0.2961, allocations: 0.5124 MB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.2963, allocations: 157.2 kB / 1.068 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.521e-05/0.2964, allocations: 65.69 kB / 1.068 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.2965, allocations: 8 kB / 1.068 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003851/0.2968, allocations: 206.5 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.2969, allocations: 0 / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0005396/0.2974, allocations: 309.4 kB / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.2975, allocations: 97.02 kB / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.187e-05/0.2976, allocations: 129.9 kB / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.2976, allocations: 41.7 kB / 1.069 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.537e-05/0.2977, allocations: 92.61 kB / 1.069 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.499e-05/0.2977, allocations: 51.44 kB / 1.069 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.2979, allocations: 73.67 kB / 1.069 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.968e-05/0.298, allocations: 326.8 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.2981, allocations: 92.17 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.2983, allocations: 156.7 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.2986, allocations: 254 kB / 1.07 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2987, allocations: 0 / 1.07 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005319/0.2992, allocations: 356.7 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.885e-05/0.2992, allocations: 67.39 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.2993, allocations: 4 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.2993, allocations: 4 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.309e-05/0.2994, allocations: 23.86 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.2994, allocations: 7.938 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/0.2998, allocations: 67.97 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.2998, allocations: 19.98 kB / 1.071 GB, free: 6.855 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.0001196/0.2999, allocations: 145.8 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.3, allocations: 15.81 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.613e-05/0.3, allocations: 12.5 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.3, allocations: 7.938 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.3, allocations: 0 / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.3, allocations: 7.984 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005702/0.3006, allocations: 0.6032 MB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3006, allocations: 0 / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.054e-05/0.3007, allocations: 11.94 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.3007, allocations: 7.922 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.3007, allocations: 4 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3007, allocations: 0 / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3007, allocations: 4 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/0.3011, allocations: 425.3 kB / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.3012, allocations: 92.86 kB / 1.072 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.3012, allocations: 16.02 kB / 1.072 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.3014, allocations: 15.92 kB / 1.072 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.494e-05/0.3014, allocations: 23.95 kB / 1.072 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.3015, allocations: 19.98 kB / 1.072 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.757e-05/0.3015, allocations: 106.8 kB / 1.072 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3015, allocations: 0 / 1.072 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003527/0.3019, allocations: 55.98 kB / 1.072 GB, free: 5.207 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.0007171/0.3026, allocations: 0.962 MB / 1.073 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004834/0.3031, allocations: 358.5 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3031, allocations: 0 / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.3033, allocations: 111.9 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.3037, allocations: 33.84 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.3062, allocations: 2.256 MB / 1.076 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.3065, allocations: 0.7047 MB / 1.077 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.673e-05/0.3065, allocations: 17.55 kB / 1.077 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.514e-05/0.3066, allocations: 39.42 kB / 1.077 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.3066, allocations: 3.938 kB / 1.077 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02024/0.3269, allocations: 4.077 MB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.146/7.473, allocations: 3.984 kB / 1.081 GB, free: 12.54 MB / 0.8419 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 50 --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