Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002376/0.002376, allocations: 107 kB / 16.45 MB, free: 6.453 MB / 14.72 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.002911/0.002911, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 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.688/1.688, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.346/3.346, allocations: 0.4899 GB / 0.7916 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0029/0.0029, allocations: 68.39 kB / 1.149 GB, free: 26.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4163, allocations: 176.1 MB / 1.321 GB, free: 2.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.00239/0.4187, allocations: 0.6711 MB / 1.322 GB, free: 2.277 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001846/0.4206, allocations: 1.198 MB / 1.323 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.291e-05/0.4206, allocations: 0 / 1.323 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.989e-05/0.4207, allocations: 3.938 kB / 1.323 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.992e-05/0.4208, allocations: 19.86 kB / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006566/0.4214, allocations: 138.5 kB / 1.323 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.4217, allocations: 143.8 kB / 1.323 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.4218, allocations: 0 / 1.323 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.4219, allocations: 63.89 kB / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.4221, allocations: 55.84 kB / 1.323 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.612e-05/0.4221, allocations: 16 kB / 1.324 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.741e-05/0.4222, allocations: 27.98 kB / 1.324 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.259e-05/0.4222, allocations: 19.92 kB / 1.324 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.231e-05/0.4223, allocations: 55.83 kB / 1.324 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.4225, allocations: 127.6 kB / 1.324 GB, free: 420 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4225, allocations: 0 / 1.324 GB, free: 420 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4226, allocations: 0 / 1.324 GB, free: 420 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.4226, allocations: 0 / 1.324 GB, free: 420 kB / 1.014 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.0008424/0.4234, allocations: 426.8 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.4234, allocations: 12.03 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.963e-05/0.4235, allocations: 12.88 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004589/0.424, allocations: 208.5 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.424, allocations: 8.375 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.424, allocations: 12.38 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.4242, allocations: 86.12 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4242, allocations: 7.938 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.4242, allocations: 4 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.4242, allocations: 4 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.4243, allocations: 35.97 kB / 1.325 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006552/0.425, allocations: 368.6 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.4252, allocations: 82.42 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.74e-05/0.4253, allocations: 36.84 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.4253, allocations: 4 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000243/0.4255, allocations: 119.3 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.4255, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.000435/0.4259, allocations: 209.1 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.426, allocations: 63.41 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.4261, allocations: 105.8 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.4261, allocations: 33.7 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.47e-05/0.4262, allocations: 96.08 kB / 1.326 GB, free: 14.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.4263, allocations: 24 kB / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.693e-05/0.4264, allocations: 49.69 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.4265, allocations: 326.8 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.4266, allocations: 47.94 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.4268, allocations: 92.25 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.427, allocations: 133.9 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.427, allocations: 0 / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000379/0.4274, allocations: 207.2 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.4275, allocations: 39.67 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.319e-06/0.4275, allocations: 0 / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.4275, allocations: 4 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.102e-05/0.4276, allocations: 15.92 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.4276, allocations: 0 / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.4278, allocations: 36.03 kB / 1.327 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.4278, allocations: 15.98 kB / 1.327 GB, free: 13.27 MB / 1.029 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.0001251/0.428, allocations: 129.7 kB / 1.327 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.428, allocations: 7.953 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.585e-05/0.428, allocations: 16.48 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.428, allocations: 0 / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.428, allocations: 0 / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.428, allocations: 0 / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.4285, allocations: 442.4 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4285, allocations: 0 / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.4286, allocations: 7.938 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.4286, allocations: 4 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.4286, allocations: 3.984 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4286, allocations: 0 / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4286, allocations: 0 / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.4289, allocations: 261.7 kB / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.429, allocations: 89 kB / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.543e-05/0.429, allocations: 15.98 kB / 1.327 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.064e-05/0.4291, allocations: 7.984 kB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.4291, allocations: 15.92 kB / 1.327 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.4292, allocations: 15.92 kB / 1.327 GB, free: 12.17 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.054e-05/0.4292, allocations: 83.59 kB / 1.328 GB, free: 12.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4292, allocations: 0 / 1.328 GB, free: 12.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002881/0.4295, allocations: 32 kB / 1.328 GB, free: 12.05 MB / 1.029 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.000194/0.4297, allocations: 121.2 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003351/0.43, allocations: 167.3 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.43, allocations: 4 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.4301, allocations: 51.91 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.4304, allocations: 20.16 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004506/0.4309, allocations: 198.3 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.4312, allocations: 0.6965 MB / 1.329 GB, free: 10.74 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.051e-05/0.4313, allocations: 8.547 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.4313, allocations: 11.44 kB / 1.329 GB, free: 10.72 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.4313, allocations: 0 / 1.329 GB, free: 10.72 MB / 1.029 GB Notification: Performance of Templates: time 0.005511/0.4368, allocations: 1.655 MB / 1.33 GB, free: 9.074 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.797122173011303]