Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008437/0.0008438, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000989/0.000989, allocations: 180.7 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.3 MB / 241 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.442/2.442, allocations: 390.9 MB / 0.667 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004035/0.0004036, allocations: 12 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8072/0.8077, allocations: 142.4 MB / 0.9557 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001209/0.809, allocations: 474.9 kB / 0.9562 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.8107, allocations: 1.269 MB / 0.9574 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.8107, allocations: 1.375 kB / 0.9574 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.987e-05/0.8107, allocations: 3.938 kB / 0.9574 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.895e-05/0.8108, allocations: 14.28 kB / 0.9574 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006326/0.8115, allocations: 220.5 kB / 0.9576 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.8117, allocations: 235.8 kB / 0.9579 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.8119, allocations: 18.36 kB / 0.9579 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.812, allocations: 88.77 kB / 0.958 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.8121, allocations: 77.45 kB / 0.958 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/0.8122, allocations: 12.47 kB / 0.9581 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-05/0.8123, allocations: 31.14 kB / 0.9581 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.678e-05/0.8123, allocations: 30.48 kB / 0.9581 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.8125, allocations: 112.2 kB / 0.9582 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.8127, allocations: 153.7 kB / 0.9584 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.8127, allocations: 0 / 0.9584 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.575e-06/0.8127, allocations: 0.9688 kB / 0.9584 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.8127, allocations: 0 / 0.9584 GB, free: 5.734 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006475/0.8133, allocations: 464.9 kB / 0.9588 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.8134, allocations: 8.469 kB / 0.9588 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.346e-05/0.8135, allocations: 30.2 kB / 0.9588 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005813/0.8141, allocations: 248.3 kB / 0.9591 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/0.8141, allocations: 15.67 kB / 0.9591 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.854e-05/0.8142, allocations: 17.12 kB / 0.9591 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.8144, allocations: 139.3 kB / 0.9592 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.8144, allocations: 7.938 kB / 0.9593 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.8144, allocations: 1.406 kB / 0.9593 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.8145, allocations: 1.125 kB / 0.9593 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.8146, allocations: 60.42 kB / 0.9593 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007192/0.8153, allocations: 0.5281 MB / 0.9598 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.8156, allocations: 163.2 kB / 0.96 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.473e-05/0.8157, allocations: 69.19 kB / 0.9601 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.8157, allocations: 1.375 kB / 0.9601 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003484/0.816, allocations: 208 kB / 0.9603 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=22): time 1.313e-06/0.8161, allocations: 3.938 kB / 0.9603 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22): time 0.000556/0.8166, allocations: 314.1 kB / 0.9606 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.8167, allocations: 94.69 kB / 0.9606 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.554e-05/0.8168, allocations: 122.6 kB / 0.9608 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/0.8168, allocations: 40.58 kB / 0.9608 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.29e-05/0.8169, allocations: 102.1 kB / 0.9609 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.8169, allocations: 55.47 kB / 0.961 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/0.817, allocations: 34.95 kB / 0.961 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.312e-05/0.8171, allocations: 326.5 kB / 0.9613 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.8173, allocations: 85.83 kB / 0.9614 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.8175, allocations: 154.8 kB / 0.9615 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.8178, allocations: 254.1 kB / 0.9618 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.8178, allocations: 1.094 kB / 0.9618 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006177/0.8184, allocations: 343.6 kB / 0.9621 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.263e-05/0.8185, allocations: 69.11 kB / 0.9622 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.8185, allocations: 2.031 kB / 0.9622 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.8185, allocations: 4.062 kB / 0.9622 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.8187, allocations: 20.45 kB / 0.9622 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.8187, allocations: 10.53 kB / 0.9622 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004111/0.8191, allocations: 91.44 kB / 0.9623 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.03e-05/0.8191, allocations: 21.95 kB / 0.9623 GB, free: 2.418 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.0001419/0.8193, allocations: 139.3 kB / 0.9624 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.8193, allocations: 15.84 kB / 0.9625 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.438e-05/0.8194, allocations: 14.47 kB / 0.9625 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.8194, allocations: 6.984 kB / 0.9625 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.8194, allocations: 8.969 kB / 0.9625 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.8194, allocations: 3.984 kB / 0.9625 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006403/0.8201, allocations: 0.6142 MB / 0.9631 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.8201, allocations: 0 / 0.9631 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/0.8201, allocations: 18.89 kB / 0.9631 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.8201, allocations: 5.25 kB / 0.9631 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.8202, allocations: 2.656 kB / 0.9631 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.8202, allocations: 1.969 kB / 0.9631 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.8202, allocations: 9.016 kB / 0.9631 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/0.8206, allocations: 424.1 kB / 0.9635 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.419e-05/0.8206, allocations: 84.64 kB / 0.9636 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.8207, allocations: 15.58 kB / 0.9636 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.8208, allocations: 11.17 kB / 0.9636 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.573e-05/0.8209, allocations: 29.98 kB / 0.9637 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.8209, allocations: 17.72 kB / 0.9637 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.021e-05/0.821, allocations: 93.36 kB / 0.9638 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.821, allocations: 0 / 0.9638 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003797/0.8214, allocations: 57.67 kB / 0.9638 GB, free: 1.172 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * 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.0001918/0.8216, allocations: 120.2 kB / 0.9639 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005034/0.8221, allocations: 353.3 kB / 0.9643 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8221, allocations: 0 / 0.9643 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.8223, allocations: 108.8 kB / 0.9644 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.8227, allocations: 32 kB / 0.9644 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005154/0.8232, allocations: 327.9 kB / 0.9647 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.8234, allocations: 0.7048 MB / 0.9654 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.604e-05/0.8235, allocations: 21.34 kB / 0.9654 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of SimCode: time 2.083e-06/0.8235, allocations: 4 kB / 0.9654 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of Templates: time 0.004801/0.8283, allocations: 2.236 MB / 0.9676 GB, free: 14.63 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,noThr.u,noThr.y,noThr.t,noThr.passed,thrTim.u,thrTim.y,thrTim.t,thrTim.passed,thrTim1.u,thrTim1.y,thrTim1.t,thrTim1.passed Variables in the result:noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,thrTim1.passed,thrTim1.t,thrTim1.u,thrTim1.y,time