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.001923/0.001923, allocations: 106.3 kB / 17.08 MB, free: 5.828 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.002335/0.002335, allocations: 189.3 kB / 20.02 MB, free: 2.949 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.523/1.523, allocations: 222.9 MB / 245.7 MB, free: 4.246 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.864/2.864, allocations: 437.1 MB / 0.7177 GB, free: 4.598 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001976/0.001976, allocations: 67.89 kB / 1.028 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3344, allocations: 151.6 MB / 1.176 GB, free: 5.961 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002794/0.3372, allocations: 1.488 MB / 1.177 GB, free: 4.449 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007635/0.338, allocations: 439 kB / 1.178 GB, free: 4.016 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.372e-05/0.3381, allocations: 3.938 kB / 1.178 GB, free: 4.012 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.3381, allocations: 3.984 kB / 1.178 GB, free: 4.008 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.881e-05/0.3382, allocations: 11.88 kB / 1.178 GB, free: 3.996 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.3384, allocations: 19.97 kB / 1.178 GB, free: 3.977 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.598e-05/0.3385, allocations: 51.84 kB / 1.178 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3386, allocations: 15.98 kB / 1.178 GB, free: 3.91 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.003e-05/0.3386, allocations: 19.94 kB / 1.178 GB, free: 3.891 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.08e-05/0.3387, allocations: 19.91 kB / 1.178 GB, free: 3.871 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.3387, allocations: 8 kB / 1.178 GB, free: 3.863 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.3387, allocations: 4 kB / 1.178 GB, free: 3.859 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.895e-05/0.3388, allocations: 19.91 kB / 1.178 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.258e-05/0.3388, allocations: 19.92 kB / 1.178 GB, free: 3.82 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.3389, allocations: 51.69 kB / 1.178 GB, free: 3.77 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.339, allocations: 4 kB / 1.178 GB, free: 3.766 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.373e-06/0.339, allocations: 0 / 1.178 GB, free: 3.766 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.339, allocations: 0 / 1.178 GB, free: 3.766 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.0005562/0.3395, allocations: 373.5 kB / 1.178 GB, free: 3.355 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.3396, allocations: 8.031 kB / 1.178 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.3396, allocations: 4.938 kB / 1.178 GB, free: 3.344 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.3398, allocations: 168.3 kB / 1.178 GB, free: 3.141 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.3398, allocations: 384 / 1.178 GB, free: 3.141 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.3398, allocations: 12.31 kB / 1.178 GB, free: 3.129 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.3399, allocations: 65.92 kB / 1.179 GB, free: 3.059 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3399, allocations: 0 / 1.179 GB, free: 3.059 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.34, allocations: 0 / 1.179 GB, free: 3.059 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.34, allocations: 0 / 1.179 GB, free: 3.059 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.342e-05/0.34, allocations: 27.98 kB / 1.179 GB, free: 3.031 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005029/0.3405, allocations: 304.7 kB / 1.179 GB, free: 2.684 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.3407, allocations: 54.59 kB / 1.179 GB, free: 2.621 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/0.3407, allocations: 20.92 kB / 1.179 GB, free: 2.598 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.3407, allocations: 0 / 1.179 GB, free: 2.598 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.3409, allocations: 83.36 kB / 1.179 GB, free: 2.504 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.3409, allocations: 0 / 1.179 GB, free: 2.504 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0002331/0.3412, allocations: 101.6 kB / 1.179 GB, free: 2.398 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.3412, allocations: 51.41 kB / 1.179 GB, free: 2.336 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.361e-05/0.3413, allocations: 109.8 kB / 1.179 GB, free: 2.219 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.3414, allocations: 29.7 kB / 1.179 GB, free: 2.184 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.3414, allocations: 88.08 kB / 1.179 GB, free: 2.094 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.3414, allocations: 27.8 kB / 1.179 GB, free: 2.066 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.3415, allocations: 29.7 kB / 1.179 GB, free: 2.031 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3417, allocations: 314.8 kB / 1.18 GB, free: 1.715 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.945e-05/0.3417, allocations: 23.98 kB / 1.18 GB, free: 1.691 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-05/0.3418, allocations: 43.42 kB / 1.18 GB, free: 1.637 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.701e-05/0.3419, allocations: 71.75 kB / 1.18 GB, free: 1.555 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3419, allocations: 3.984 kB / 1.18 GB, free: 1.551 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001516/0.342, allocations: 93.8 kB / 1.18 GB, free: 1.453 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3421, allocations: 8 kB / 1.18 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3421, allocations: 3.938 kB / 1.18 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.3421, allocations: 0 / 1.18 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.05e-05/0.3422, allocations: 15.92 kB / 1.18 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3422, allocations: 4 kB / 1.18 GB, free: 1.422 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.135e-05/0.3422, allocations: 4 kB / 1.18 GB, free: 1.418 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3423, allocations: 12.03 kB / 1.18 GB, free: 1.406 MB / 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.0001058/0.3424, allocations: 121.8 kB / 1.18 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.3424, allocations: 4 kB / 1.18 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.3424, allocations: 7.969 kB / 1.18 GB, free: 1.262 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3424, allocations: 0 / 1.18 GB, free: 1.262 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.3424, allocations: 3.938 kB / 1.18 GB, free: 1.258 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3424, allocations: 0 / 1.18 GB, free: 1.258 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.3429, allocations: 370.3 kB / 1.18 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3429, allocations: 0 / 1.18 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-05/0.3429, allocations: 7.984 kB / 1.18 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3429, allocations: 0 / 1.18 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.3429, allocations: 0 / 1.18 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.343, allocations: 3.938 kB / 1.18 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.343, allocations: 0 / 1.18 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.3431, allocations: 187.4 kB / 1.181 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.3432, allocations: 81.11 kB / 1.181 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.3432, allocations: 8 kB / 1.181 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.421e-05/0.3433, allocations: 11.92 kB / 1.181 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.3434, allocations: 4 kB / 1.181 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.3434, allocations: 0 / 1.181 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.263e-05/0.3434, allocations: 87.27 kB / 1.181 GB, free: 432 kB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.3434, allocations: 0 / 1.181 GB, free: 432 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002274/0.3437, allocations: 16 kB / 1.181 GB, free: 416 kB / 0.92 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.0001262/0.3438, allocations: 99.44 kB / 1.181 GB, free: 308 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.344, allocations: 67.78 kB / 1.181 GB, free: 240 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.344, allocations: 0 / 1.181 GB, free: 240 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.317e-05/0.344, allocations: 20 kB / 1.181 GB, free: 220 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.3443, allocations: 14.67 kB / 1.181 GB, free: 208 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003526/0.3447, allocations: 172.7 kB / 1.181 GB, free: 4 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.345, allocations: 0.6807 MB / 1.182 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.3451, allocations: 23.44 kB / 1.182 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/0.3451, allocations: 0 / 1.182 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of Templates: time 0.002516/0.3476, allocations: 0.8671 MB / 1.183 GB, free: 14.41 MB / 0.9356 GB " [Timeout remaining time 300] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,offTim1.u,offTim1.y,offTim2.u,offTim2.y Variables in the result:offTim1.u,offTim1.y,offTim2.u,offTim2.y,time [Calling sys.exit(0), Time elapsed: 10.764262991957366]