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.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.001855/0.001855, allocations: 83.69 kB / 20.23 MB, free: 4.184 MB / 18.57 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.001916/0.001916, allocations: 161.3 kB / 23.55 MB, free: 0.8672 MB / 18.57 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.563/1.563, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.973/2.973, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.564e-06/2.564e-06, allocations: 0 / 0.7864 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.413e-05/3.67e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002757/0.002794, allocations: 0.7289 MB / 0.7871 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002768/0.005562, allocations: 1.289 MB / 0.7884 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.005639, allocations: 4.812 kB / 0.7884 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.095e-05/0.00568, allocations: 7.922 kB / 0.7884 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.005815, allocations: 21.05 kB / 0.7884 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.007027, allocations: 241 kB / 0.7886 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005085/0.007535, allocations: 251.5 kB / 0.7889 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.007658, allocations: 17.42 kB / 0.7889 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003382/0.007996, allocations: 139.8 kB / 0.789 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.008254, allocations: 83.78 kB / 0.7891 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.686e-05/0.008341, allocations: 24.62 kB / 0.7891 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.008486, allocations: 33.39 kB / 0.7892 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.373e-05/0.008549, allocations: 31.91 kB / 0.7892 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.008731, allocations: 83.84 kB / 0.7893 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005343/0.009265, allocations: 263.2 kB / 0.7895 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.009268, allocations: 0.8438 kB / 0.7895 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.262e-06/0.009269, allocations: 0 / 0.7895 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.009276, allocations: 0 / 0.7895 GB, free: 9.422 MB / 0.7448 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.001185/0.01046, allocations: 0.5239 MB / 0.79 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.01051, allocations: 8.031 kB / 0.79 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.01066, allocations: 33.73 kB / 0.7901 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007648/0.01142, allocations: 186 kB / 0.7902 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.121e-05/0.01147, allocations: 16.31 kB / 0.7903 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.838e-05/0.01154, allocations: 22.02 kB / 0.7903 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/0.01191, allocations: 141.5 kB / 0.7904 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.01192, allocations: 192 / 0.7904 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.01194, allocations: 8.359 kB / 0.7904 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.567e-06/0.01195, allocations: 5.469 kB / 0.7904 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.01216, allocations: 63.89 kB / 0.7905 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.01338, allocations: 0.5235 MB / 0.791 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004842/0.01387, allocations: 186.1 kB / 0.7912 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.01403, allocations: 64.31 kB / 0.7912 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.01405, allocations: 4 kB / 0.7912 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005531/0.01461, allocations: 235.4 kB / 0.7915 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 1.763e-06/0.01461, allocations: 0 / 0.7915 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22): time 0.0009573/0.01557, allocations: 333.4 kB / 0.7918 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.349e-05/0.01566, allocations: 89.03 kB / 0.7919 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.0159, allocations: 198.9 kB / 0.7921 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.069e-05/0.01597, allocations: 42.23 kB / 0.7921 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.0161, allocations: 139.4 kB / 0.7922 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.01621, allocations: 64.27 kB / 0.7923 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.01644, allocations: 84.44 kB / 0.7924 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.00034/0.01678, allocations: 0.504 MB / 0.7929 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/0.01718, allocations: 159.6 kB / 0.793 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004966/0.01768, allocations: 257.7 kB / 0.7933 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.01827, allocations: 290.5 kB / 0.7935 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.01828, allocations: 0 / 0.7935 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001016/0.01929, allocations: 462.6 kB / 0.794 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.034e-05/0.01936, allocations: 63.39 kB / 0.794 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.01937, allocations: 4 kB / 0.7941 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.01939, allocations: 4 kB / 0.7941 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.01951, allocations: 30.23 kB / 0.7941 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.01952, allocations: 4 kB / 0.7941 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003271/0.01985, allocations: 55.8 kB / 0.7941 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.703e-05/0.01989, allocations: 23.42 kB / 0.7942 GB, free: 4.273 MB / 0.7448 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.0002013/0.0201, allocations: 186.5 kB / 0.7943 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.433e-05/0.02015, allocations: 31.94 kB / 0.7944 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.861e-05/0.0202, allocations: 16.38 kB / 0.7944 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.02021, allocations: 7.984 kB / 0.7944 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.02021, allocations: 0 / 0.7944 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.02022, allocations: 0 / 0.7944 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008146/0.02103, allocations: 0.665 MB / 0.795 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.02103, allocations: 0 / 0.795 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.202e-05/0.02108, allocations: 12.48 kB / 0.7951 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.02109, allocations: 0.5625 kB / 0.7951 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.02111, allocations: 8 kB / 0.7951 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.02111, allocations: 4.5 kB / 0.7951 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.02111, allocations: 1.406 kB / 0.7951 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008867/0.022, allocations: 0.5316 MB / 0.7956 GB, free: 2.75 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.243e-05/0.02202, allocations: 11.91 kB / 0.7956 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.02206, allocations: 11.98 kB / 0.7956 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.02221, allocations: 16.52 kB / 0.7956 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.42e-05/0.0223, allocations: 25.58 kB / 0.7957 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.02232, allocations: 12 kB / 0.7957 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001027/0.02242, allocations: 141.5 kB / 0.7958 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.02242, allocations: 0 / 0.7958 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003761/0.0228, allocations: 68.77 kB / 0.7959 GB, free: 2.473 MB / 0.7448 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.0002119/0.02301, allocations: 116.1 kB / 0.796 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006885/0.0237, allocations: 438.6 kB / 0.7964 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.0237, allocations: 1.344 kB / 0.7964 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.02393, allocations: 117.9 kB / 0.7965 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.02433, allocations: 25.59 kB / 0.7965 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006546/0.02499, allocations: 291.9 kB / 0.7968 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.02509, allocations: 92.97 kB / 0.7969 GB, free: 1.316 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.213e-05/0.02517, allocations: 20.62 kB / 0.7969 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.757e-05/0.02522, allocations: 24.5 kB / 0.7969 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.02523, allocations: 0 / 0.7969 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of Templates: time 0.007832/0.03306, allocations: 2.892 MB / 0.7998 GB, free: 14.46 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.211024507996626]