Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.001845/0.001845, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.001971/0.001971, allocations: 165.7 kB / 23.55 MB, free: 0.8711 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.556/1.556, allocations: 177.1 MB / 203.9 MB, free: 5.629 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.925/2.925, allocations: 359 MB / 0.6048 GB, free: 10.96 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.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.049e-05, allocations: 8.688 kB / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003793/0.003824, allocations: 1.515 MB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.005021, allocations: 464.2 kB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.363e-05/0.005064, allocations: 1.406 kB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.157e-05/0.005106, allocations: 7.922 kB / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.344e-05/0.005199, allocations: 7.938 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.005367, allocations: 21.08 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.005494, allocations: 51.83 kB / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.005614, allocations: 11.98 kB / 0.7884 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.92e-05/0.005713, allocations: 32.89 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.529e-05/0.005799, allocations: 23.89 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.005824, allocations: 4 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.595e-05/0.00584, allocations: 5.188 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.376e-05/0.005873, allocations: 4 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.522e-05/0.005929, allocations: 19.92 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.006094, allocations: 49.11 kB / 0.7885 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.006098, allocations: 0 / 0.7885 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.152e-06/0.006099, allocations: 0 / 0.7885 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.006103, allocations: 0 / 0.7885 GB, free: 10.65 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000761/0.006864, allocations: 381.8 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.006906, allocations: 8.031 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.055e-05/0.006977, allocations: 8.938 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.007147, allocations: 121.6 kB / 0.789 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.007168, allocations: 8.312 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.007187, allocations: 8.375 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.007338, allocations: 55.78 kB / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.007348, allocations: 4.125 kB / 0.7891 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.007363, allocations: 8.359 kB / 0.7891 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.00737, allocations: 3.938 kB / 0.7891 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.892e-05/0.007469, allocations: 29.34 kB / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006549/0.008124, allocations: 295.6 kB / 0.7894 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.008308, allocations: 61.92 kB / 0.7894 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.692e-05/0.008385, allocations: 27.72 kB / 0.7895 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.008403, allocations: 4 kB / 0.7895 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.008606, allocations: 85.06 kB / 0.7896 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.008608, allocations: 0 / 0.7896 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0003689/0.008977, allocations: 105.6 kB / 0.7897 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.009038, allocations: 55.41 kB / 0.7897 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.009214, allocations: 170.6 kB / 0.7899 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.009252, allocations: 33.7 kB / 0.7899 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.009357, allocations: 128.5 kB / 0.79 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.009397, allocations: 23.8 kB / 0.79 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.099e-05/0.009488, allocations: 43.36 kB / 0.7901 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003368/0.009825, allocations: 0.4884 MB / 0.7906 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.856e-05/0.009884, allocations: 17.17 kB / 0.7906 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.01, allocations: 62.67 kB / 0.7906 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.01017, allocations: 80.42 kB / 0.7907 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-06/0.01018, allocations: 0 / 0.7907 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002397/0.01041, allocations: 101.5 kB / 0.7908 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.01043, allocations: 4 kB / 0.7908 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.01044, allocations: 0 / 0.7908 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.01046, allocations: 5.188 kB / 0.7908 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.01057, allocations: 15.98 kB / 0.7908 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.01058, allocations: 3.938 kB / 0.7908 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.942e-05/0.01066, allocations: 13.59 kB / 0.7909 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.01067, allocations: 4 kB / 0.7909 GB, free: 8 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001727/0.01085, allocations: 165.9 kB / 0.791 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.01087, allocations: 13.67 kB / 0.791 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/0.01091, allocations: 8.125 kB / 0.791 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.01092, allocations: 4.281 kB / 0.791 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.01092, allocations: 0 / 0.791 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.01093, allocations: 3.984 kB / 0.791 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005965/0.01152, allocations: 362.1 kB / 0.7914 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01152, allocations: 0 / 0.7914 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.836e-05/0.01156, allocations: 8.469 kB / 0.7914 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.01157, allocations: 4.703 kB / 0.7914 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.01158, allocations: 0 / 0.7914 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.01158, allocations: 0.5312 kB / 0.7914 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.01158, allocations: 4.062 kB / 0.7914 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.01191, allocations: 249.1 kB / 0.7916 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.41e-05/0.01193, allocations: 0 / 0.7916 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.01195, allocations: 8 kB / 0.7917 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.01205, allocations: 0.5312 kB / 0.7917 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.494e-05/0.01212, allocations: 9.359 kB / 0.7917 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.01213, allocations: 4 kB / 0.7917 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001023/0.01223, allocations: 131.2 kB / 0.7918 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01223, allocations: 0 / 0.7918 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003953/0.01263, allocations: 21.11 kB / 0.7918 GB, free: 6.965 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001368/0.01276, allocations: 96.23 kB / 0.7919 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002169/0.01298, allocations: 64.41 kB / 0.792 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01298, allocations: 0 / 0.792 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.916e-05/0.01308, allocations: 40.55 kB / 0.792 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.01348, allocations: 21.86 kB / 0.792 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.01393, allocations: 154.8 kB / 0.7922 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.01403, allocations: 68.16 kB / 0.7922 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.822e-05/0.01407, allocations: 7.984 kB / 0.7922 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.01411, allocations: 14.47 kB / 0.7923 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/0.01412, allocations: 0 / 0.7923 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of Templates: time 0.005032/0.01915, allocations: 0.8335 MB / 0.7931 GB, free: 5.656 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Warning: Resultfile and Reference have different end time points! Reffile[511]=0.000000 File[2520]=0.000400 " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.9928336289012805]