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.001095/0.001095, allocations: 119.2 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 190.4 kB / 17.31 MB, free: 5.613 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.29/2.29, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 65.28 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2999, allocations: 140.4 MB / 0.9511 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002825/0.3028, allocations: 0.7428 MB / 0.9519 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00227/0.3051, allocations: 1.267 MB / 0.9531 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.277e-05/0.3052, allocations: 4 kB / 0.9531 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.697e-05/0.3052, allocations: 7.938 kB / 0.9531 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.3053, allocations: 15.8 kB / 0.9531 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009759/0.3063, allocations: 250.9 kB / 0.9534 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004237/0.3067, allocations: 263.5 kB / 0.9536 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.3069, allocations: 20.22 kB / 0.9536 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.3071, allocations: 99.86 kB / 0.9537 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.3073, allocations: 95.73 kB / 0.9538 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.062e-05/0.3074, allocations: 24 kB / 0.9538 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.3075, allocations: 35.98 kB / 0.9539 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.181e-05/0.3076, allocations: 35.89 kB / 0.9539 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.3077, allocations: 91.73 kB / 0.954 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003725/0.3081, allocations: 223.3 kB / 0.9542 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.3081, allocations: 7.984 kB / 0.9542 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3082, allocations: 0 / 0.9542 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.3082, allocations: 0 / 0.9542 GB, free: 4.855 MB / 0.7325 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.0009955/0.3092, allocations: 0.4915 MB / 0.9547 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.3092, allocations: 8.031 kB / 0.9547 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.3093, allocations: 16.84 kB / 0.9547 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007951/0.3101, allocations: 256.3 kB / 0.955 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.352e-05/0.3102, allocations: 20.36 kB / 0.955 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.557e-05/0.3103, allocations: 20.36 kB / 0.955 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.3106, allocations: 127.8 kB / 0.9551 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3106, allocations: 3.938 kB / 0.9551 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.3107, allocations: 11.98 kB / 0.9551 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3107, allocations: 0 / 0.9551 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.3109, allocations: 67.88 kB / 0.9552 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.312, allocations: 0.5046 MB / 0.9557 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003703/0.3123, allocations: 161.2 kB / 0.9559 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.3125, allocations: 65.7 kB / 0.9559 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.3125, allocations: 0 / 0.9559 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005101/0.313, allocations: 214.2 kB / 0.9561 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 1.764e-06/0.3131, allocations: 0 / 0.9561 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22): time 0.0008646/0.3139, allocations: 309.4 kB / 0.9564 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.178e-05/0.314, allocations: 93.03 kB / 0.9565 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.3142, allocations: 129.5 kB / 0.9566 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.252e-05/0.3143, allocations: 49.62 kB / 0.9567 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.965e-05/0.3144, allocations: 96.7 kB / 0.9568 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.253e-05/0.3144, allocations: 51.41 kB / 0.9568 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.3146, allocations: 73.67 kB / 0.9569 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.3148, allocations: 322.8 kB / 0.9572 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.3151, allocations: 88.17 kB / 0.9573 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.3154, allocations: 152.2 kB / 0.9574 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000446/0.3159, allocations: 243 kB / 0.9577 GB, free: 1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3159, allocations: 0 / 0.9577 GB, free: 1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008598/0.3168, allocations: 360.6 kB / 0.958 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.694e-05/0.3169, allocations: 67.39 kB / 0.9581 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.3169, allocations: 0 / 0.9581 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.3169, allocations: 7.938 kB / 0.9581 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.317, allocations: 15.98 kB / 0.9581 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/0.3171, allocations: 16.09 kB / 0.9581 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005007/0.3176, allocations: 64.16 kB / 0.9582 GB, free: 460 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-05/0.3176, allocations: 19.98 kB / 0.9582 GB, free: 440 kB / 0.7325 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.0001909/0.3178, allocations: 151.5 kB / 0.9583 GB, free: 280 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.3179, allocations: 15.91 kB / 0.9583 GB, free: 264 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.985e-05/0.318, allocations: 20.44 kB / 0.9584 GB, free: 244 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.318, allocations: 0 / 0.9584 GB, free: 244 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.318, allocations: 3.938 kB / 0.9584 GB, free: 240 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.318, allocations: 7.984 kB / 0.9584 GB, free: 232 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009429/0.319, allocations: 0.6031 MB / 0.959 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.319, allocations: 0 / 0.959 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.573e-05/0.319, allocations: 11.94 kB / 0.959 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.3191, allocations: 3.938 kB / 0.959 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/0.3191, allocations: 19.92 kB / 0.959 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.3191, allocations: 4 kB / 0.959 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.3191, allocations: 4 kB / 0.959 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006364/0.3198, allocations: 416.8 kB / 0.9594 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.757e-05/0.3198, allocations: 92.86 kB / 0.9595 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.242e-05/0.3199, allocations: 15.92 kB / 0.9595 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.3202, allocations: 15.98 kB / 0.9595 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.498e-05/0.3203, allocations: 23.97 kB / 0.9595 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.3203, allocations: 11.98 kB / 0.9596 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.832e-05/0.3204, allocations: 103 kB / 0.9597 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3204, allocations: 0 / 0.9597 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006483/0.3211, allocations: 55.98 kB / 0.9597 GB, free: 14.77 MB / 0.7481 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.0002487/0.3213, allocations: 115.2 kB / 0.9598 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007717/0.3221, allocations: 346.6 kB / 0.9601 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3221, allocations: 0 / 0.9601 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002493/0.3224, allocations: 115.9 kB / 0.9603 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006618/0.323, allocations: 34.92 kB / 0.9603 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007548/0.3238, allocations: 272.9 kB / 0.9606 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.3242, allocations: 0.7201 MB / 0.9613 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.691e-05/0.3243, allocations: 17.55 kB / 0.9613 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/0.3244, allocations: 23.42 kB / 0.9613 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of SimCode: time 4.71e-07/0.3244, allocations: 0 / 0.9613 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of Templates: time 0.008385/0.3328, allocations: 2.667 MB / 0.9639 GB, free: 10.41 MB / 0.7481 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 -s cvode -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) Reference file matches