Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.001401/0.001401, allocations: 105.7 kB / 17.54 MB, free: 4.742 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.001437/0.001437, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.307/1.307, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.516/2.516, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 67.89 kB / 1.107 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7594/0.7611, allocations: 168.7 MB / 1.271 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001551/0.7627, allocations: 0.6869 MB / 1.272 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.7638, allocations: 1.161 MB / 1.273 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.7639, allocations: 0 / 1.273 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/0.7639, allocations: 5.391 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.752e-05/0.7639, allocations: 10.48 kB / 1.273 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004192/0.7644, allocations: 138.2 kB / 1.273 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.7645, allocations: 149.8 kB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.42e-05/0.7646, allocations: 12.45 kB / 1.274 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.492e-05/0.7647, allocations: 54.53 kB / 1.274 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.7648, allocations: 52.98 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.7648, allocations: 13.28 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.972e-05/0.7649, allocations: 28.25 kB / 1.274 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.286e-05/0.7649, allocations: 19.34 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.442e-05/0.765, allocations: 58.31 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.7651, allocations: 124.5 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.7651, allocations: 0 / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7651, allocations: 0 / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.7652, allocations: 4.969 kB / 1.274 GB, free: 6.191 MB / 0.9981 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.000453/0.7656, allocations: 417.6 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.7656, allocations: 9.594 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.023e-05/0.7657, allocations: 41.03 kB / 1.274 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.7657, allocations: 11.36 kB / 1.274 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.766, allocations: 211.4 kB / 1.275 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.766, allocations: 10.14 kB / 1.275 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.7661, allocations: 16.14 kB / 1.275 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.7662, allocations: 91.8 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.7662, allocations: 0 / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.7662, allocations: 7.141 kB / 1.275 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.7662, allocations: 0.875 kB / 1.275 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.308e-05/0.7663, allocations: 42.77 kB / 1.275 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.7668, allocations: 354.5 kB / 1.275 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.7669, allocations: 80.62 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.435e-05/0.767, allocations: 31.03 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.767, allocations: 0.9688 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002026/0.7672, allocations: 139.3 kB / 1.275 GB, free: 5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.7672, allocations: 0 / 1.275 GB, free: 5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0003508/0.7675, allocations: 197.1 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.7675, allocations: 55.31 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.542e-05/0.7676, allocations: 117.1 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.7676, allocations: 33.92 kB / 1.276 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.144e-05/0.7677, allocations: 88.27 kB / 1.276 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.7677, allocations: 36.17 kB / 1.276 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.981e-05/0.7677, allocations: 50.14 kB / 1.276 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.629e-05/0.7678, allocations: 324.6 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.7679, allocations: 48.06 kB / 1.276 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.768, allocations: 80 kB / 1.276 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.7681, allocations: 143.8 kB / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7681, allocations: 0 / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002934/0.7684, allocations: 211.4 kB / 1.277 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.7685, allocations: 38.28 kB / 1.277 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.7685, allocations: 4.828 kB / 1.277 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.7685, allocations: 2.438 kB / 1.277 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.38e-05/0.7685, allocations: 12.33 kB / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.7685, allocations: 6.438 kB / 1.277 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.7687, allocations: 40.95 kB / 1.277 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.7687, allocations: 13.19 kB / 1.277 GB, free: 3.895 MB / 0.9981 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 6.734e-05/0.7688, allocations: 136.7 kB / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.7688, allocations: 11.47 kB / 1.277 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.558e-05/0.7689, allocations: 13.47 kB / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.7689, allocations: 5.031 kB / 1.277 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.7689, allocations: 1.344 kB / 1.277 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.7689, allocations: 0 / 1.277 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.7692, allocations: 431.4 kB / 1.277 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.7692, allocations: 3.938 kB / 1.277 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.934e-05/0.7692, allocations: 10.45 kB / 1.277 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.7692, allocations: 0.5 kB / 1.277 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.7692, allocations: 6.406 kB / 1.277 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.7692, allocations: 7.188 kB / 1.277 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.7692, allocations: 4.844 kB / 1.277 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.7694, allocations: 255 kB / 1.278 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.7695, allocations: 84.28 kB / 1.278 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.7695, allocations: 8.594 kB / 1.278 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.127e-05/0.7696, allocations: 5.953 kB / 1.278 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.7696, allocations: 16.38 kB / 1.278 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.7696, allocations: 12.09 kB / 1.278 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.266e-05/0.7696, allocations: 89.56 kB / 1.278 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7696, allocations: 1 kB / 1.278 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002538/0.7699, allocations: 32.61 kB / 1.278 GB, free: 3 MB / 0.9981 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.0003896/0.7703, allocations: 0.8061 MB / 1.279 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002589/0.7706, allocations: 172.4 kB / 1.279 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.7706, allocations: 0.9688 kB / 1.279 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.638e-05/0.7706, allocations: 55.81 kB / 1.279 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.7709, allocations: 21.05 kB / 1.279 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.7724, allocations: 1.714 MB / 1.28 GB, free: 16.72 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.7726, allocations: 0.6893 MB / 1.281 GB, free: 16.02 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.822e-05/0.7727, allocations: 13.84 kB / 1.281 GB, free: 16.02 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.7727, allocations: 22.36 kB / 1.281 GB, free: 16 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.7727, allocations: 0 / 1.281 GB, free: 16 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.7955, allocations: 2.778 MB / 1.284 GB, free: 15.54 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.876/7.671, allocations: 14.95 kB / 1.284 GB, free: 15.53 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,noThr.u,noThr.y,noThr.t,noThr.passed,thrTim.u,thrTim.y,thrTim.t,thrTim.passed Variables in the result:booPul.period,booPul.shift,booPul.width,booPul.y,noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,time [Calling sys.exit(0), Time elapsed: 12.979134549999799]