Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002254/0.002254, allocations: 186.5 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.77/1.77, allocations: 225.6 MB / 251 MB, free: 13.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.651/2.651, allocations: 443.4 MB / 0.7321 GB, free: 12.33 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 63.89 kB / 1.061 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8859/0.8879, allocations: 160.8 MB / 1.218 GB, free: 3.809 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002812/0.8907, allocations: 1.504 MB / 1.22 GB, free: 2.633 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008447/0.8915, allocations: 455 kB / 1.22 GB, free: 2.281 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.448e-05/0.8916, allocations: 5.156 kB / 1.22 GB, free: 2.277 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.216e-05/0.8916, allocations: 0 / 1.22 GB, free: 2.277 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.126e-05/0.8917, allocations: 9.031 kB / 1.22 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.8918, allocations: 19.97 kB / 1.22 GB, free: 2.254 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.319e-05/0.8919, allocations: 48.17 kB / 1.22 GB, free: 2.227 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.892, allocations: 16.84 kB / 1.22 GB, free: 2.215 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.088e-05/0.8921, allocations: 19.61 kB / 1.22 GB, free: 2.203 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.698e-05/0.8922, allocations: 22.14 kB / 1.22 GB, free: 2.188 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.8922, allocations: 7.656 kB / 1.22 GB, free: 2.184 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.8922, allocations: 4.656 kB / 1.22 GB, free: 2.184 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.634e-05/0.8922, allocations: 13.27 kB / 1.221 GB, free: 2.172 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.282e-05/0.8923, allocations: 22.59 kB / 1.221 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.8924, allocations: 54.7 kB / 1.221 GB, free: 2.117 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.8924, allocations: 0 / 1.221 GB, free: 2.117 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8924, allocations: 1.219 kB / 1.221 GB, free: 2.117 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.8924, allocations: 0 / 1.221 GB, free: 2.117 MB / 0.92 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.0005948/0.893, allocations: 367.3 kB / 1.221 GB, free: 1.734 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.893, allocations: 9.188 kB / 1.221 GB, free: 1.734 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.893, allocations: 4.5 kB / 1.221 GB, free: 1.734 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.8932, allocations: 170.7 kB / 1.221 GB, free: 1.531 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.507e-06/0.8932, allocations: 2.625 kB / 1.221 GB, free: 1.531 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.8932, allocations: 5.125 kB / 1.221 GB, free: 1.531 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.8934, allocations: 63.11 kB / 1.221 GB, free: 1.477 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.8934, allocations: 0 / 1.221 GB, free: 1.477 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.8934, allocations: 5.125 kB / 1.221 GB, free: 1.473 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.8934, allocations: 1.312 kB / 1.221 GB, free: 1.473 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.497e-05/0.8935, allocations: 25.58 kB / 1.221 GB, free: 1.461 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005411/0.894, allocations: 305.9 kB / 1.221 GB, free: 1.141 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.8941, allocations: 46.31 kB / 1.222 GB, free: 1.105 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.894e-05/0.8942, allocations: 23.3 kB / 1.222 GB, free: 1.09 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.8942, allocations: 1.125 kB / 1.222 GB, free: 1.09 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.8944, allocations: 83.86 kB / 1.222 GB, free: 1.012 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.8944, allocations: 0 / 1.222 GB, free: 1.012 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0002639/0.8947, allocations: 97.39 kB / 1.222 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.8947, allocations: 57.83 kB / 1.222 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.8948, allocations: 107.8 kB / 1.222 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.8948, allocations: 31.92 kB / 1.222 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.8949, allocations: 86.3 kB / 1.222 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.8949, allocations: 22.39 kB / 1.222 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.895, allocations: 31.23 kB / 1.222 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.8951, allocations: 319.9 kB / 1.222 GB, free: 296 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.813e-05/0.8951, allocations: 21.86 kB / 1.222 GB, free: 284 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-05/0.8952, allocations: 48.27 kB / 1.222 GB, free: 236 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.984e-05/0.8953, allocations: 74.5 kB / 1.223 GB, free: 172 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/0.8953, allocations: 4.906 kB / 1.223 GB, free: 168 kB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001486/0.8955, allocations: 90.89 kB / 1.223 GB, free: 108 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.8955, allocations: 5.344 kB / 1.223 GB, free: 108 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.8955, allocations: 1.094 kB / 1.223 GB, free: 108 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.8955, allocations: 1.094 kB / 1.223 GB, free: 108 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.812e-05/0.8956, allocations: 16.2 kB / 1.223 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.8956, allocations: 1.938 kB / 1.223 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.026e-05/0.8957, allocations: 12.03 kB / 1.223 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.8957, allocations: 7.312 kB / 1.223 GB, free: 88 kB / 0.92 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.0001202/0.8958, allocations: 128.6 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.8958, allocations: 1.594 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.8958, allocations: 9 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.8958, allocations: 5.062 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.8958, allocations: 1.062 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.8958, allocations: 0 / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004622/0.8963, allocations: 363.7 kB / 1.223 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.8963, allocations: 0 / 1.223 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.033e-05/0.8963, allocations: 7.734 kB / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.8963, allocations: 0.75 kB / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.8963, allocations: 4.906 kB / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.8964, allocations: 5.062 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8964, allocations: 0 / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.8965, allocations: 187.9 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.8966, allocations: 82.92 kB / 1.223 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.8966, allocations: 1.094 kB / 1.223 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.054e-05/0.8967, allocations: 11.2 kB / 1.223 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.8967, allocations: 11.39 kB / 1.223 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.8968, allocations: 5.844 kB / 1.223 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.3e-05/0.8968, allocations: 79.84 kB / 1.224 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8968, allocations: 0 / 1.224 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002409/0.897, allocations: 15.31 kB / 1.224 GB, free: 15.21 MB / 0.9356 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.0001036/0.8971, allocations: 111.5 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001468/0.8973, allocations: 54.58 kB / 1.224 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.8973, allocations: 0 / 1.224 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.038e-05/0.8973, allocations: 19.16 kB / 1.224 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.8976, allocations: 13.52 kB / 1.224 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.898, allocations: 154.2 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.8984, allocations: 0.6879 MB / 1.225 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.987e-05/0.8984, allocations: 7.422 kB / 1.225 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.8985, allocations: 16.06 kB / 1.225 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.8985, allocations: 0 / 1.225 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of Templates: time 0.00341/0.9019, allocations: 0.8145 MB / 1.225 GB, free: 13.8 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.136114513501525]