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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001585/0.001585, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002011/0.002011, allocations: 191.9 kB / 16.14 MB, free: 6.711 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.454/1.454, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.483/2.483, allocations: 390.2 MB / 0.6642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 67.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8166/0.8179, allocations: 140.3 MB / 0.9489 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002402/0.8204, allocations: 0.8096 MB / 0.9497 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00167/0.8221, allocations: 1.275 MB / 0.951 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.435e-05/0.8222, allocations: 0 / 0.951 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.444e-05/0.8222, allocations: 5.219 kB / 0.951 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.239e-05/0.8223, allocations: 13.11 kB / 0.951 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006855/0.823, allocations: 238.5 kB / 0.9512 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.8232, allocations: 219.4 kB / 0.9514 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.8234, allocations: 19.98 kB / 0.9514 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.8235, allocations: 92.86 kB / 0.9515 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.8237, allocations: 77.92 kB / 0.9516 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.853e-05/0.8237, allocations: 18.03 kB / 0.9516 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.8238, allocations: 26.52 kB / 0.9516 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.889e-05/0.8239, allocations: 27.22 kB / 0.9517 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.824, allocations: 83.45 kB / 0.9518 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.8243, allocations: 215.2 kB / 0.952 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.8243, allocations: 0 / 0.952 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.052e-06/0.8243, allocations: 0 / 0.952 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.8243, allocations: 0 / 0.952 GB, free: 6.863 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.0007921/0.8251, allocations: 0.4954 MB / 0.9524 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.8251, allocations: 12.81 kB / 0.9525 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.35e-05/0.8252, allocations: 16.66 kB / 0.9525 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005994/0.8258, allocations: 257.3 kB / 0.9527 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.038e-05/0.8259, allocations: 13.33 kB / 0.9527 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.21e-05/0.826, allocations: 24.86 kB / 0.9527 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000305/0.8263, allocations: 135 kB / 0.9529 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.8263, allocations: 3.938 kB / 0.9529 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.8263, allocations: 6.828 kB / 0.9529 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.8263, allocations: 5.359 kB / 0.9529 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.8265, allocations: 58.8 kB / 0.953 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008268/0.8273, allocations: 0.5159 MB / 0.9535 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.8276, allocations: 159.2 kB / 0.9536 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.8277, allocations: 62.27 kB / 0.9537 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.8278, allocations: 8.859 kB / 0.9537 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003925/0.8282, allocations: 207.3 kB / 0.9539 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=22): time 1.253e-06/0.8282, allocations: 1.156 kB / 0.9539 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22): time 0.0006165/0.8288, allocations: 313.9 kB / 0.9542 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.8288, allocations: 90.06 kB / 0.9543 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.85e-05/0.8289, allocations: 127.1 kB / 0.9544 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.829, allocations: 44.75 kB / 0.9544 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.8291, allocations: 90.83 kB / 0.9545 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/0.8291, allocations: 51.72 kB / 0.9546 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.8293, allocations: 75.14 kB / 0.9546 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.51e-05/0.8293, allocations: 329.6 kB / 0.9549 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.8295, allocations: 86.45 kB / 0.955 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.8298, allocations: 155 kB / 0.9552 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004036/0.8302, allocations: 251.1 kB / 0.9554 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.8302, allocations: 1.188 kB / 0.9554 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007218/0.831, allocations: 357.3 kB / 0.9558 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.932e-05/0.831, allocations: 68.2 kB / 0.9558 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.8311, allocations: 3.312 kB / 0.9558 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.8311, allocations: 3.5 kB / 0.9558 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.8312, allocations: 21.17 kB / 0.9558 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.8312, allocations: 6.562 kB / 0.9559 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003409/0.8316, allocations: 69.88 kB / 0.9559 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.8316, allocations: 22.55 kB / 0.9559 GB, free: 3.5 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.0001349/0.8317, allocations: 138.1 kB / 0.9561 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.8318, allocations: 13.09 kB / 0.9561 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.334e-05/0.8318, allocations: 14.81 kB / 0.9561 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.8318, allocations: 2.406 kB / 0.9561 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.8318, allocations: 9.25 kB / 0.9561 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.8319, allocations: 3.984 kB / 0.9561 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000563/0.8324, allocations: 0.6141 MB / 0.9567 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.8324, allocations: 0.9688 kB / 0.9567 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.319e-05/0.8325, allocations: 13.97 kB / 0.9567 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.8325, allocations: 5.906 kB / 0.9567 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.8325, allocations: 7.828 kB / 0.9567 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.8325, allocations: 0 / 0.9567 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.8325, allocations: 5.5 kB / 0.9567 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.8329, allocations: 418.6 kB / 0.9571 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.29e-05/0.833, allocations: 84.89 kB / 0.9572 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.833, allocations: 15.86 kB / 0.9572 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.8332, allocations: 9.484 kB / 0.9573 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.115e-05/0.8332, allocations: 25.53 kB / 0.9573 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.8333, allocations: 21.7 kB / 0.9573 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.562e-05/0.8333, allocations: 96.83 kB / 0.9574 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8333, allocations: 0 / 0.9574 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003648/0.8337, allocations: 58.73 kB / 0.9574 GB, free: 2.266 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.0002082/0.8339, allocations: 120 kB / 0.9576 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004861/0.8344, allocations: 345.2 kB / 0.9579 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.8344, allocations: 8 kB / 0.9579 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.8346, allocations: 112.2 kB / 0.958 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.835, allocations: 34.06 kB / 0.958 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006391/0.8356, allocations: 306.7 kB / 0.9583 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.8359, allocations: 0.7013 MB / 0.959 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.618e-05/0.836, allocations: 23.69 kB / 0.959 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.836, allocations: 16.69 kB / 0.9591 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.836, allocations: 0 / 0.9591 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of Templates: time 0.006346/0.8424, allocations: 2.485 MB / 0.9615 GB, free: 15.64 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/jenkins/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