Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.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.001323/0.001323, allocations: 78.17 kB / 19.76 MB, free: 2.031 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.001448/0.001448, allocations: 158.2 kB / 23.01 MB, free: 4.945 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.452/1.452, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.973/2.973, allocations: 394.2 MB / 0.6387 GB, free: 11.9 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Latch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") [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.002236/0.002236, allocations: 63.91 kB / 1.009 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041/1.043, allocations: 181.8 MB / 1.187 GB, free: 16.16 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002577/1.046, allocations: 0.7458 MB / 1.187 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001746/1.048, allocations: 1.252 MB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.747e-05/1.048, allocations: 2.031 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.883e-05/1.048, allocations: 10.69 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.406e-05/1.048, allocations: 19.67 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007346/1.049, allocations: 247.7 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003229/1.049, allocations: 248.4 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/1.049, allocations: 52.58 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/1.049, allocations: 108.6 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/1.049, allocations: 87.14 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.579e-05/1.049, allocations: 25.66 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/1.05, allocations: 37.77 kB / 1.189 GB, free: 14.44 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.861e-05/1.05, allocations: 34.28 kB / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/1.05, allocations: 84.36 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003499/1.05, allocations: 242 kB / 1.19 GB, free: 14.3 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.05, allocations: 1.25 kB / 1.19 GB, free: 14.3 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.394e-06/1.05, allocations: 3.938 kB / 1.19 GB, free: 14.29 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.873e-06/1.05, allocations: 0 / 1.19 GB, free: 14.29 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005753/1.051, allocations: 424.5 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/1.051, allocations: 9.953 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.964e-05/1.051, allocations: 17.38 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005184/1.051, allocations: 174.8 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/1.051, allocations: 22.27 kB / 1.19 GB, free: 13.75 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.435e-05/1.051, allocations: 22.28 kB / 1.19 GB, free: 13.74 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/1.052, allocations: 116.6 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/1.052, allocations: 5 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/1.052, allocations: 10.53 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/1.052, allocations: 3.281 kB / 1.191 GB, free: 13.67 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/1.052, allocations: 52.94 kB / 1.191 GB, free: 13.65 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005631/1.052, allocations: 375.9 kB / 1.191 GB, free: 13.38 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/1.053, allocations: 126.4 kB / 1.191 GB, free: 13.31 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.925e-05/1.053, allocations: 49.91 kB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/1.053, allocations: 7.266 kB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003551/1.053, allocations: 188 kB / 1.191 GB, free: 13.19 MB / 1.076 GB Notification: Performance of pre-optimization done (n=32): time 1.482e-06/1.053, allocations: 0 / 1.191 GB, free: 13.19 MB / 1.076 GB Notification: Performance of matching and sorting (n=32): time 0.0005886/1.054, allocations: 326.2 kB / 1.192 GB, free: 13.07 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/1.054, allocations: 57.62 kB / 1.192 GB, free: 13.01 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/1.054, allocations: 157.6 kB / 1.192 GB, free: 12.88 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/1.054, allocations: 40.44 kB / 1.192 GB, free: 12.84 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/1.054, allocations: 111 kB / 1.192 GB, free: 12.74 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/1.054, allocations: 70.97 kB / 1.192 GB, free: 12.69 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/1.054, allocations: 105.3 kB / 1.192 GB, free: 12.63 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.341e-05/1.054, allocations: 329.4 kB / 1.192 GB, free: 12.31 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/1.054, allocations: 166.5 kB / 1.193 GB, free: 12.21 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/1.055, allocations: 234.2 kB / 1.193 GB, free: 12.05 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/1.055, allocations: 283.3 kB / 1.193 GB, free: 11.84 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.055, allocations: 1.125 kB / 1.193 GB, free: 11.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006469/1.056, allocations: 486.8 kB / 1.194 GB, free: 11.57 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.366e-05/1.056, allocations: 68.12 kB / 1.194 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.056, allocations: 1.188 kB / 1.194 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/1.056, allocations: 4.141 kB / 1.194 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.757e-05/1.056, allocations: 13.77 kB / 1.194 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/1.056, allocations: 7.922 kB / 1.194 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/1.056, allocations: 74.38 kB / 1.194 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.413e-05/1.056, allocations: 22.78 kB / 1.194 GB, free: 11.47 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,tru.y,fal.y,truCleTruIni.clr,truCleFalIni.clr,falCleTruIni.clr,falCleFalIni.clr,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,truCleFalIni.y,$PRE.truCleFalIni.y,truCleFalIni.u,falCleFalIni.y,$PRE.falCleFalIni.y,falCleFalIni.u,truCleTruIni.y,$PRE.truCleTruIni.y,truCleTruIni.u,falCleTruIni.y,$PRE.falCleTruIni.y,falCleTruIni.u,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 2 * 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.0001183/1.056, allocations: 161.3 kB / 1.194 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/1.056, allocations: 16.28 kB / 1.194 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/1.056, allocations: 22.19 kB / 1.194 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/1.056, allocations: 3.344 kB / 1.194 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/1.056, allocations: 8.688 kB / 1.194 GB, free: 11.29 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/1.056, allocations: 5.406 kB / 1.194 GB, free: 11.28 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006639/1.057, allocations: 0.5433 MB / 1.194 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/1.057, allocations: 0 / 1.194 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.693e-05/1.057, allocations: 14.72 kB / 1.194 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/1.057, allocations: 1.281 kB / 1.194 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/1.057, allocations: 7.297 kB / 1.194 GB, free: 10.92 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/1.057, allocations: 1.781 kB / 1.194 GB, free: 10.92 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.057, allocations: 4.688 kB / 1.194 GB, free: 10.92 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003834/1.057, allocations: 368.9 kB / 1.195 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/1.057, allocations: 13.98 kB / 1.195 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/1.057, allocations: 8.094 kB / 1.195 GB, free: 10.69 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.859e-05/1.057, allocations: 6.891 kB / 1.195 GB, free: 10.69 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/1.058, allocations: 21.28 kB / 1.195 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/1.058, allocations: 10.97 kB / 1.195 GB, free: 10.68 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.403e-05/1.058, allocations: 104.4 kB / 1.195 GB, free: 10.6 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.058, allocations: 3.938 kB / 1.195 GB, free: 10.6 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003317/1.058, allocations: 58.69 kB / 1.195 GB, free: 10.59 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (swiCleInp1.clr,swiCleInp.clr,truCleFalIni.u,swiCleInp1.u,swiCleInp.u,truCleTruIni.u,falCleTruIni.u,falCleFalIni.u,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001383/1.058, allocations: 120.9 kB / 1.195 GB, free: 10.49 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005413/1.059, allocations: 414.3 kB / 1.196 GB, free: 10.23 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/1.059, allocations: 0 / 1.196 GB, free: 10.23 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/1.059, allocations: 97.47 kB / 1.196 GB, free: 10.2 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/1.059, allocations: 35.67 kB / 1.196 GB, free: 10.18 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005359/1.06, allocations: 324.7 kB / 1.196 GB, free: 9.969 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.701e-05/1.06, allocations: 109 kB / 1.196 GB, free: 9.891 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.8e-05/1.06, allocations: 21.91 kB / 1.196 GB, free: 9.887 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/1.06, allocations: 22.19 kB / 1.196 GB, free: 9.879 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/1.06, allocations: 4 kB / 1.196 GB, free: 9.875 MB / 1.076 GB Notification: Performance of Templates: time 0.008979/1.069, allocations: 2.865 MB / 1.199 GB, free: 9.496 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Latch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.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.089662616024725]