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.0008287/0.0008287, allocations: 92.7 kB / 20.21 MB, free: 4.227 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.0008195/0.0008195, allocations: 161.3 kB / 23.51 MB, free: 0.918 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 0.8899/0.8899, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] 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 1.926/1.926, allocations: 429.6 MB / 0.6737 GB, free: 3.926 MB / 0.6355 GB " [Timeout remaining time 178] Using package Buildings with version 14.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: 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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.8783 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.527e-05, allocations: 2.312 kB / 0.8783 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001105/0.00112, allocations: 0.7267 MB / 0.8791 GB, free: 5.797 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.002361, allocations: 1.28 MB / 0.8803 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.922e-05/0.00241, allocations: 0 / 0.8803 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.663e-05/0.002436, allocations: 8.406 kB / 0.8803 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.938e-05/0.002516, allocations: 25.66 kB / 0.8803 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005108/0.003027, allocations: 241.6 kB / 0.8806 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.003253, allocations: 255.5 kB / 0.8808 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.398e-05/0.003347, allocations: 10.08 kB / 0.8808 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.003487, allocations: 151.8 kB / 0.881 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.003605, allocations: 75.8 kB / 0.881 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.003637, allocations: 24 kB / 0.8811 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.364e-05/0.0037, allocations: 35.98 kB / 0.8811 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.881e-05/0.003729, allocations: 30.62 kB / 0.8811 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.981e-05/0.003809, allocations: 83.84 kB / 0.8812 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.004036, allocations: 259.3 kB / 0.8815 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.004038, allocations: 4 kB / 0.8815 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.71e-07/0.004038, allocations: 0 / 0.8815 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.004042, allocations: 0 / 0.8815 GB, free: 3.332 MB / 0.8386 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.00058/0.004622, allocations: 430 kB / 0.8819 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.004659, allocations: 8.031 kB / 0.8819 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.01e-05/0.004729, allocations: 30.53 kB / 0.8819 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.005102, allocations: 199 kB / 0.8821 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.005122, allocations: 8.375 kB / 0.8821 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.747e-05/0.005159, allocations: 24.36 kB / 0.8821 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.005345, allocations: 131.9 kB / 0.8823 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.005353, allocations: 192 / 0.8823 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.00537, allocations: 8.359 kB / 0.8823 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.005376, allocations: 4.125 kB / 0.8823 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.933e-05/0.005476, allocations: 67.89 kB / 0.8823 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.005969, allocations: 420.6 kB / 0.8827 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.006167, allocations: 129.2 kB / 0.8829 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.064e-05/0.006237, allocations: 61.69 kB / 0.8829 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.006249, allocations: 4.156 kB / 0.8829 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002414/0.006491, allocations: 218.6 kB / 0.8831 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.042e-06/0.006492, allocations: 0 / 0.8831 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22): time 0.0004086/0.0069, allocations: 329.6 kB / 0.8834 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.006943, allocations: 89.09 kB / 0.8835 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.972e-05/0.007023, allocations: 133.9 kB / 0.8837 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.007055, allocations: 41.7 kB / 0.8837 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.007104, allocations: 96.58 kB / 0.8838 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.007139, allocations: 55.62 kB / 0.8838 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.702e-05/0.007216, allocations: 77.69 kB / 0.8839 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.967e-05/0.007296, allocations: 326.8 kB / 0.8842 GB, free: 300 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.007441, allocations: 147.6 kB / 0.8844 GB, free: 136 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.007606, allocations: 219.6 kB / 0.8846 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.007805, allocations: 243 kB / 0.8848 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.007807, allocations: 0 / 0.8848 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005499/0.008357, allocations: 432.1 kB / 0.8852 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.023e-05/0.008398, allocations: 71.39 kB / 0.8853 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.008402, allocations: 224 / 0.8853 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.008416, allocations: 8 kB / 0.8853 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.898e-05/0.008485, allocations: 19.92 kB / 0.8853 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.008493, allocations: 7.938 kB / 0.8853 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.008669, allocations: 63.83 kB / 0.8854 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.008695, allocations: 23.98 kB / 0.8854 GB, free: 14.95 MB / 0.8542 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 9.212e-05/0.008787, allocations: 155.6 kB / 0.8856 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.008811, allocations: 27.91 kB / 0.8856 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/0.00884, allocations: 16.42 kB / 0.8856 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.008842, allocations: 4 kB / 0.8856 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.008848, allocations: 0 / 0.8856 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.008851, allocations: 0 / 0.8856 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003747/0.009226, allocations: 0.5481 MB / 0.8861 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.009227, allocations: 3.938 kB / 0.8861 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.317e-05/0.00925, allocations: 11.92 kB / 0.8861 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.009253, allocations: 4 kB / 0.8862 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.009267, allocations: 15.98 kB / 0.8862 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.009268, allocations: 0 / 0.8862 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.009268, allocations: 0 / 0.8862 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.009539, allocations: 443.8 kB / 0.8866 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.083e-05/0.00955, allocations: 15.95 kB / 0.8866 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.009571, allocations: 7.984 kB / 0.8866 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.553e-05/0.009646, allocations: 15.98 kB / 0.8866 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.009707, allocations: 23.95 kB / 0.8867 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.00972, allocations: 15.98 kB / 0.8867 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.305e-05/0.009763, allocations: 94.16 kB / 0.8868 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.009763, allocations: 4 kB / 0.8868 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002445/0.01001, allocations: 63.86 kB / 0.8868 GB, free: 13.43 MB / 0.8542 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.0001129/0.01012, allocations: 115.2 kB / 0.8869 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003511/0.01047, allocations: 374 kB / 0.8873 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01047, allocations: 0 / 0.8873 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.01057, allocations: 87.89 kB / 0.8874 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.01085, allocations: 34.73 kB / 0.8874 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/0.01127, allocations: 277.4 kB / 0.8877 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.904e-05/0.01134, allocations: 100.8 kB / 0.8878 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.34e-05/0.01139, allocations: 17.48 kB / 0.8878 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.01143, allocations: 24.5 kB / 0.8878 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of SimCode: time 8.52e-07/0.01143, allocations: 0 / 0.8878 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of Templates: time 0.00427/0.0157, allocations: 2.903 MB / 0.8906 GB, free: 9.492 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 800] 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/jenkins/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: 5.064189208671451]