Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001801/0.001802, allocations: 108 kB / 15.61 MB, free: 152 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.002119/0.002119, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.617/1.617, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.892/2.892, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 71.88 kB / 0.8692 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7428/0.7451, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002302/0.7475, allocations: 0.7433 MB / 1.018 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002/0.7495, allocations: 1.253 MB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.7496, allocations: 4 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.357e-05/0.7497, allocations: 7.922 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.7499, allocations: 15.8 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008954/0.7508, allocations: 253.4 kB / 1.02 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003758/0.7511, allocations: 259.7 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.7513, allocations: 16.2 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.7515, allocations: 103.8 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.7517, allocations: 79.77 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.238e-05/0.7518, allocations: 28 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.7519, allocations: 43.97 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.738e-05/0.7519, allocations: 27.91 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.7521, allocations: 91.75 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.7525, allocations: 213.4 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.7525, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7525, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.7525, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 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.001077/0.7536, allocations: 0.5062 MB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/0.7537, allocations: 15.98 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.7538, allocations: 16.84 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000738/0.7545, allocations: 254 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.182e-05/0.7546, allocations: 16.38 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.512e-05/0.7546, allocations: 24.36 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003031/0.755, allocations: 139.8 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.755, allocations: 3.938 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.755, allocations: 7.984 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.755, allocations: 4 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.7552, allocations: 55.95 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.7562, allocations: 0.5123 MB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/0.7565, allocations: 157.2 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.7567, allocations: 69.72 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.7567, allocations: 4 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005096/0.7572, allocations: 210.1 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 4.348e-06/0.7572, allocations: 4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22): time 0.0006512/0.7579, allocations: 306.2 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.413e-05/0.758, allocations: 97.03 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.7581, allocations: 131.6 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.938e-05/0.7582, allocations: 37.7 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.218e-05/0.7583, allocations: 92.7 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.376e-05/0.7583, allocations: 51.34 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.7585, allocations: 73.67 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.7586, allocations: 326.8 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.7588, allocations: 92.23 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.7591, allocations: 152.2 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/0.7595, allocations: 246.1 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7595, allocations: 4 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006274/0.7601, allocations: 360.6 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.032e-05/0.7602, allocations: 65.11 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.7602, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.7602, allocations: 4.375 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.7604, allocations: 23.92 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.7604, allocations: 7.938 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.7608, allocations: 68 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/0.7608, allocations: 23.92 kB / 1.024 GB, free: 10.94 MB / 0.7794 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.0001816/0.761, allocations: 140 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.7611, allocations: 15.91 kB / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.767e-05/0.7611, allocations: 12.5 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.7611, allocations: 4 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-05/0.7612, allocations: 7.938 kB / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.7612, allocations: 3.984 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007785/0.762, allocations: 0.6186 MB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.762, allocations: 0 / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.711e-05/0.762, allocations: 15.92 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-05/0.7621, allocations: 3.938 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.7621, allocations: 8 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.7621, allocations: 0 / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.7621, allocations: 4 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005051/0.7626, allocations: 413.8 kB / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.954e-05/0.7627, allocations: 89 kB / 1.026 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/0.7627, allocations: 15.92 kB / 1.026 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.7629, allocations: 15.98 kB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.841e-05/0.763, allocations: 19.97 kB / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.763, allocations: 23.98 kB / 1.026 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.516e-05/0.7631, allocations: 95.2 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7631, allocations: 0 / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003837/0.7635, allocations: 59.89 kB / 1.026 GB, free: 9.297 MB / 0.7794 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.0002187/0.7637, allocations: 115.2 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000601/0.7643, allocations: 360 kB / 1.026 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.7644, allocations: 4.062 kB / 1.026 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.7645, allocations: 111.9 kB / 1.026 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.765, allocations: 36.12 kB / 1.026 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006484/0.7656, allocations: 288.4 kB / 1.027 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004554/0.7661, allocations: 0.7047 MB / 1.027 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.075e-05/0.7662, allocations: 17.55 kB / 1.027 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.891e-05/0.7663, allocations: 19.44 kB / 1.027 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7663, allocations: 0 / 1.027 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of Templates: time 0.007626/0.7739, allocations: 2.675 MB / 1.03 GB, free: 4.922 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches