Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001557/0.001557, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001652/0.001652, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.483/1.483, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.803/2.803, allocations: 377.8 MB / 0.6232 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.897e-05/4.062e-05, allocations: 6.312 kB / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003434/0.003475, allocations: 1.505 MB / 0.8122 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.004483, allocations: 460.8 kB / 0.8127 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.818e-05/0.004531, allocations: 1.344 kB / 0.8127 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.463e-05/0.004566, allocations: 3.938 kB / 0.8127 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.683e-05/0.004662, allocations: 15.84 kB / 0.8127 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.00016/0.004822, allocations: 15.98 kB / 0.8127 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.004929, allocations: 53.44 kB / 0.8128 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.005033, allocations: 15.98 kB / 0.8128 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.69e-05/0.00513, allocations: 31.84 kB / 0.8128 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.701e-05/0.005197, allocations: 11.98 kB / 0.8128 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.005222, allocations: 8.719 kB / 0.8128 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.005235, allocations: 4 kB / 0.8128 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 5.151e-05/0.005287, allocations: 16.53 kB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.099e-05/0.005338, allocations: 17.45 kB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.005465, allocations: 47.81 kB / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.005467, allocations: 0 / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.123e-06/0.005469, allocations: 0 / 0.8129 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.005473, allocations: 0.5312 kB / 0.8129 GB, free: 15.93 MB / 0.7761 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.0005928/0.006066, allocations: 283.6 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.006103, allocations: 8.031 kB / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.581e-05/0.006159, allocations: 8.922 kB / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.006309, allocations: 118.7 kB / 0.8133 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.006327, allocations: 8.375 kB / 0.8133 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.006342, allocations: 4.375 kB / 0.8133 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.006475, allocations: 55.61 kB / 0.8134 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.006483, allocations: 192 / 0.8134 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.006494, allocations: 384 / 0.8134 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.006503, allocations: 7.938 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.807e-05/0.006581, allocations: 25.39 kB / 0.8134 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005379/0.007119, allocations: 232.4 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.007246, allocations: 51.09 kB / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.59e-05/0.007312, allocations: 34.25 kB / 0.8137 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.007327, allocations: 4.031 kB / 0.8137 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.007528, allocations: 67.39 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.007529, allocations: 5.094 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.000296/0.007825, allocations: 101.6 kB / 0.8139 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.007885, allocations: 55.41 kB / 0.8139 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.007997, allocations: 111.7 kB / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.008024, allocations: 29.7 kB / 0.8141 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.239e-05/0.008096, allocations: 92.11 kB / 0.8142 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/0.008131, allocations: 23.8 kB / 0.8142 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.432e-05/0.008186, allocations: 25.7 kB / 0.8142 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.008361, allocations: 321.3 kB / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.434e-05/0.008406, allocations: 19.92 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.037e-05/0.008476, allocations: 47.42 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.008592, allocations: 67.55 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.008594, allocations: 0 / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001999/0.008794, allocations: 110 kB / 0.8148 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.008812, allocations: 6.812 kB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.008818, allocations: 1.938 kB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.008838, allocations: 4 kB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.032e-05/0.008918, allocations: 11.94 kB / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.008926, allocations: 3.984 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.366e-05/0.009, allocations: 6 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.009014, allocations: 8 kB / 0.8148 GB, free: 13.83 MB / 0.7761 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.0001186/0.009132, allocations: 117.8 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.009158, allocations: 11.89 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.009187, allocations: 12.11 kB / 0.8149 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.00919, allocations: 0.5938 kB / 0.8149 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.009193, allocations: 0.5312 kB / 0.8149 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.009196, allocations: 0 / 0.8149 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004635/0.00966, allocations: 307.3 kB / 0.8152 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.009664, allocations: 7.984 kB / 0.8152 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.017e-05/0.009695, allocations: 8.656 kB / 0.8152 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.009697, allocations: 4 kB / 0.8152 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.009706, allocations: 1.188 kB / 0.8152 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.00971, allocations: 3.984 kB / 0.8152 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.009711, allocations: 0 / 0.8152 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.009935, allocations: 192.2 kB / 0.8154 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.386e-05/0.009948, allocations: 4 kB / 0.8154 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.009963, allocations: 3.188 kB / 0.8154 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.598e-05/0.01006, allocations: 11.98 kB / 0.8155 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.01011, allocations: 7.984 kB / 0.8155 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.01012, allocations: 0 / 0.8155 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.969e-05/0.01018, allocations: 83.28 kB / 0.8155 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01018, allocations: 0 / 0.8155 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002459/0.01042, allocations: 15.95 kB / 0.8156 GB, free: 13 MB / 0.7761 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.0001402/0.01056, allocations: 106.9 kB / 0.8157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.01072, allocations: 48.16 kB / 0.8157 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01072, allocations: 0 / 0.8157 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.162e-05/0.01078, allocations: 27.92 kB / 0.8157 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.01107, allocations: 18.52 kB / 0.8157 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003673/0.01144, allocations: 145.5 kB / 0.8159 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.352e-05/0.01154, allocations: 72.3 kB / 0.816 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.332e-05/0.01157, allocations: 7.984 kB / 0.816 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.67e-05/0.01161, allocations: 12.5 kB / 0.816 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of SimCode: time 7.81e-07/0.01161, allocations: 5 kB / 0.816 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of Templates: time 0.003632/0.01524, allocations: 0.8193 MB / 0.8168 GB, free: 11.73 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.674939336953685]