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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002275/0.002275, allocations: 217.9 kB / 22.25 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.42/3.42, allocations: 0.505 GB / 0.8101 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 70.86 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3666, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002684/0.3693, allocations: 0.7369 MB / 1.354 GB, free: 7.715 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002127/0.3714, allocations: 1.299 MB / 1.355 GB, free: 6.402 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.951e-05/0.3715, allocations: 0 / 1.355 GB, free: 6.402 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.169e-05/0.3716, allocations: 11.88 kB / 1.355 GB, free: 6.391 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.3717, allocations: 19.84 kB / 1.355 GB, free: 6.371 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000801/0.3725, allocations: 246.1 kB / 1.355 GB, free: 6.137 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000422/0.3729, allocations: 255.5 kB / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.373, allocations: 20.2 kB / 1.355 GB, free: 5.863 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.3732, allocations: 95.88 kB / 1.355 GB, free: 5.77 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.3734, allocations: 107.7 kB / 1.356 GB, free: 5.664 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.013e-05/0.3734, allocations: 20 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.3736, allocations: 43.92 kB / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.413e-05/0.3736, allocations: 27.92 kB / 1.356 GB, free: 5.574 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.3738, allocations: 91.73 kB / 1.356 GB, free: 5.484 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000351/0.3741, allocations: 227.6 kB / 1.356 GB, free: 5.262 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3741, allocations: 0 / 1.356 GB, free: 5.262 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3741, allocations: 0 / 1.356 GB, free: 5.262 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.3741, allocations: 0 / 1.356 GB, free: 5.262 MB / 1.045 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.0008888/0.375, allocations: 439.3 kB / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3751, allocations: 8.031 kB / 1.356 GB, free: 4.781 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.398e-05/0.3751, allocations: 42.73 kB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.797e-05/0.3752, allocations: 16.89 kB / 1.356 GB, free: 4.715 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006078/0.3758, allocations: 190.5 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.3758, allocations: 8.375 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.396e-05/0.3759, allocations: 28.36 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.3761, allocations: 134 kB / 1.357 GB, free: 4.328 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3762, allocations: 0 / 1.357 GB, free: 4.328 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.855e-05/0.3762, allocations: 3.984 kB / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.3762, allocations: 4 kB / 1.357 GB, free: 4.32 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.3763, allocations: 59.89 kB / 1.357 GB, free: 4.262 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008406/0.3772, allocations: 499.7 kB / 1.357 GB, free: 3.727 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.3774, allocations: 137.2 kB / 1.357 GB, free: 3.574 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.38e-05/0.3775, allocations: 45.7 kB / 1.358 GB, free: 3.523 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.3776, allocations: 8 kB / 1.358 GB, free: 3.516 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004406/0.378, allocations: 218.9 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.378, allocations: 4 kB / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of matching and sorting (n=22): time 0.00062/0.3786, allocations: 305.4 kB / 1.358 GB, free: 2.977 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/0.3787, allocations: 100.9 kB / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.3788, allocations: 121.1 kB / 1.358 GB, free: 2.734 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.667e-05/0.3789, allocations: 45.69 kB / 1.358 GB, free: 2.684 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.685e-05/0.379, allocations: 97.11 kB / 1.358 GB, free: 2.582 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.443e-05/0.379, allocations: 51.64 kB / 1.358 GB, free: 2.531 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.3791, allocations: 73.67 kB / 1.358 GB, free: 2.453 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3793, allocations: 326.8 kB / 1.359 GB, free: 2.125 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.3795, allocations: 92.17 kB / 1.359 GB, free: 2.031 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.3798, allocations: 148.2 kB / 1.359 GB, free: 1.859 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003647/0.3801, allocations: 247 kB / 1.359 GB, free: 1.578 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.3801, allocations: 0 / 1.359 GB, free: 1.578 MB / 1.045 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006224/0.3808, allocations: 364.6 kB / 1.36 GB, free: 1.203 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.838e-05/0.3808, allocations: 71.39 kB / 1.36 GB, free: 1.121 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3808, allocations: 0 / 1.36 GB, free: 1.121 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.3809, allocations: 4 kB / 1.36 GB, free: 1.117 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.381, allocations: 23.86 kB / 1.36 GB, free: 1.094 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.381, allocations: 4 kB / 1.36 GB, free: 1.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003598/0.3813, allocations: 68.05 kB / 1.36 GB, free: 1.023 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.364e-05/0.3814, allocations: 19.98 kB / 1.36 GB, free: 1.004 MB / 1.045 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.0001678/0.3815, allocations: 147.7 kB / 1.36 GB, free: 0.8477 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.3816, allocations: 15.91 kB / 1.36 GB, free: 0.832 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.3816, allocations: 20.42 kB / 1.36 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3816, allocations: 3.938 kB / 1.36 GB, free: 0.8086 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.3816, allocations: 8 kB / 1.36 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.3817, allocations: 3.984 kB / 1.36 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006906/0.3823, allocations: 0.5787 MB / 1.361 GB, free: 172 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3823, allocations: 4 kB / 1.361 GB, free: 168 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.3824, allocations: 8.031 kB / 1.361 GB, free: 160 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.515e-06/0.3824, allocations: 11.88 kB / 1.361 GB, free: 148 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.3824, allocations: 7.984 kB / 1.361 GB, free: 140 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3824, allocations: 4 kB / 1.361 GB, free: 136 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3824, allocations: 0 / 1.361 GB, free: 136 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004709/0.3829, allocations: 425.6 kB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.837e-05/0.3829, allocations: 7.953 kB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.3829, allocations: 15.92 kB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.3831, allocations: 15.98 kB / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.951e-05/0.3832, allocations: 23.95 kB / 1.361 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.3832, allocations: 11.98 kB / 1.361 GB, free: 15.63 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.64e-05/0.3833, allocations: 99.27 kB / 1.361 GB, free: 15.53 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3833, allocations: 0 / 1.361 GB, free: 15.53 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003801/0.3836, allocations: 55.94 kB / 1.361 GB, free: 15.48 MB / 1.061 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.0008638/0.3845, allocations: 0.9637 MB / 1.362 GB, free: 14.49 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005246/0.385, allocations: 318.5 kB / 1.362 GB, free: 14.15 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.385, allocations: 0 / 1.362 GB, free: 14.15 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.3852, allocations: 83.89 kB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.3856, allocations: 31.97 kB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.3885, allocations: 2.3 MB / 1.365 GB, free: 11.6 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.3889, allocations: 0.7086 MB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.66e-05/0.3889, allocations: 13.48 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.861e-05/0.389, allocations: 39.42 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of SimCode: time 8.12e-07/0.389, allocations: 112 / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.034/0.423, allocations: 4.333 MB / 1.37 GB, free: 6.621 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.48, allocations: 9.891 kB / 1.37 GB, free: 6.617 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.55117622204125]