Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.002622/0.002622, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.003183/0.003183, allocations: 157.7 kB / 23.55 MB, free: 0.875 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.599/1.599, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.893/2.893, allocations: 359 MB / 0.6048 GB, free: 10.94 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.TimerNegativeStartTime,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",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,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",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 0.6562 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.115e-05/3.434e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002226/0.00226, allocations: 0.6639 MB / 0.787 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001959/0.004219, allocations: 1.188 MB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.025e-05/0.004279, allocations: 0 / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.717e-05/0.004316, allocations: 3.938 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.004423, allocations: 12.48 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006222/0.005046, allocations: 148.9 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002745/0.00532, allocations: 143.7 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.005428, allocations: 5.188 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.005591, allocations: 83.86 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.005733, allocations: 43.92 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.076e-05/0.005773, allocations: 13.25 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.174e-05/0.005865, allocations: 27.98 kB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.005918, allocations: 23.91 kB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.189e-05/0.00601, allocations: 41.2 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.006312, allocations: 151.6 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.006317, allocations: 0 / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.724e-06/0.006319, allocations: 1.625 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.006325, allocations: 0 / 0.7889 GB, free: 10.25 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000877/0.007202, allocations: 445.8 kB / 0.7893 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.007247, allocations: 12.02 kB / 0.7893 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.853e-05/0.007336, allocations: 21.86 kB / 0.7893 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.00774, allocations: 157.7 kB / 0.7895 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.007767, allocations: 4.375 kB / 0.7895 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.007803, allocations: 12.36 kB / 0.7895 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.008016, allocations: 95.73 kB / 0.7896 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.008026, allocations: 192 / 0.7896 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.008043, allocations: 4.359 kB / 0.7896 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.00805, allocations: 4.125 kB / 0.7896 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.008162, allocations: 41.44 kB / 0.7896 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006696/0.008832, allocations: 343.5 kB / 0.79 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.009062, allocations: 101.8 kB / 0.7901 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.864e-05/0.009141, allocations: 43.66 kB / 0.7901 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.009159, allocations: 7.938 kB / 0.7901 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002718/0.00943, allocations: 140.9 kB / 0.7902 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.009432, allocations: 0 / 0.7902 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0004889/0.00992, allocations: 209.3 kB / 0.7904 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.009981, allocations: 63.39 kB / 0.7905 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.01015, allocations: 183.5 kB / 0.7907 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.01018, allocations: 37.64 kB / 0.7907 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.01029, allocations: 134.9 kB / 0.7908 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.01034, allocations: 31.94 kB / 0.7909 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.01044, allocations: 61.11 kB / 0.7909 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002817/0.01072, allocations: 0.4923 MB / 0.7914 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.01088, allocations: 85.67 kB / 0.7915 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.01108, allocations: 144 kB / 0.7916 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.01133, allocations: 153.2 kB / 0.7918 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01133, allocations: 1.75 kB / 0.7918 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004712/0.0118, allocations: 264.8 kB / 0.792 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.372e-05/0.01185, allocations: 39.56 kB / 0.7921 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.01186, allocations: 0 / 0.7921 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.01188, allocations: 4 kB / 0.7921 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.779e-05/0.01197, allocations: 15.94 kB / 0.7921 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.01198, allocations: 4 kB / 0.7921 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.01216, allocations: 32.58 kB / 0.7921 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.01218, allocations: 12.53 kB / 0.7921 GB, free: 6.633 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001545/0.01234, allocations: 169.3 kB / 0.7923 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.01237, allocations: 24.42 kB / 0.7923 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.689e-05/0.01241, allocations: 13.77 kB / 0.7923 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.01241, allocations: 0 / 0.7923 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.01242, allocations: 4 kB / 0.7923 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01243, allocations: 3.938 kB / 0.7923 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005463/0.01297, allocations: 439.6 kB / 0.7928 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01297, allocations: 1.375 kB / 0.7928 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.01301, allocations: 7.984 kB / 0.7928 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01301, allocations: 0 / 0.7928 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.01302, allocations: 1.156 kB / 0.7928 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.01303, allocations: 4 kB / 0.7928 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01303, allocations: 0 / 0.7928 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004185/0.01345, allocations: 339.7 kB / 0.7931 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.086e-05/0.01346, allocations: 5.234 kB / 0.7931 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.01349, allocations: 7.984 kB / 0.7931 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.677e-05/0.01358, allocations: 8 kB / 0.7931 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/0.01365, allocations: 12.78 kB / 0.7931 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.01367, allocations: 19.97 kB / 0.7932 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.53e-05/0.01376, allocations: 128.1 kB / 0.7933 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01376, allocations: 0 / 0.7933 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002793/0.01404, allocations: 41.27 kB / 0.7933 GB, free: 5.371 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002488/0.01429, allocations: 107.2 kB / 0.7934 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005974/0.01488, allocations: 242.4 kB / 0.7936 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01489, allocations: 1.938 kB / 0.7936 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.01501, allocations: 67.66 kB / 0.7937 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.01531, allocations: 21.23 kB / 0.7937 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005291/0.01584, allocations: 210.1 kB / 0.7939 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.27e-05/0.01593, allocations: 78.77 kB / 0.794 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.839e-05/0.01597, allocations: 4.5 kB / 0.794 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.476e-05/0.01601, allocations: 20.5 kB / 0.794 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.01601, allocations: 0 / 0.794 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of Templates: time 0.005959/0.02197, allocations: 1.77 MB / 0.7958 GB, free: 2.852 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.169570234953426]