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.001507/0.001507, 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.001708/0.001708, allocations: 195.3 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.536/1.536, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.91/2.91, allocations: 437 MB / 0.7103 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 67.91 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7698/0.7714, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002296/0.7737, allocations: 0.7449 MB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001779/0.7755, allocations: 1.257 MB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.252e-05/0.7756, allocations: 4 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.903e-05/0.7757, allocations: 11.86 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.823e-05/0.7758, allocations: 11.86 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000864/0.7766, allocations: 252.4 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003334/0.777, allocations: 259.6 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.7771, allocations: 16.22 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.7773, allocations: 103.8 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.7774, allocations: 83.75 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.028e-05/0.7775, allocations: 24 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.7777, allocations: 43.92 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.381e-05/0.7777, allocations: 31.91 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.7778, allocations: 91.73 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.7782, allocations: 221.4 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.7782, allocations: 0 / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.297e-06/0.7782, allocations: 0 / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.7782, allocations: 3.938 kB / 1.02 GB, free: 15.34 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.0008396/0.779, allocations: 0.4907 MB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.7791, allocations: 19.98 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.236e-05/0.7792, allocations: 16.84 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006876/0.7799, allocations: 250 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/0.7799, allocations: 16.38 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.153e-05/0.78, allocations: 28.3 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.7802, allocations: 135.9 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.7803, allocations: 3.938 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.7803, allocations: 3.984 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.7803, allocations: 7.938 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.7804, allocations: 59.89 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000857/0.7813, allocations: 0.5162 MB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/0.7816, allocations: 161.2 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.7817, allocations: 61.69 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.7817, allocations: 3.984 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003557/0.7821, allocations: 211.8 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.884e-06/0.7821, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22): time 0.0005847/0.7827, allocations: 306.3 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.856e-05/0.7828, allocations: 97.03 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.7829, allocations: 133.1 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/0.7829, allocations: 37.7 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.121e-05/0.783, allocations: 96.84 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.956e-05/0.7831, allocations: 47.36 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.7832, allocations: 73.67 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.7834, allocations: 330.8 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.7836, allocations: 92.22 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.7838, allocations: 144.2 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/0.7842, allocations: 247 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.7842, allocations: 4 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006057/0.7848, allocations: 360.9 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.904e-05/0.7849, allocations: 67.39 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.7849, allocations: 3.938 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.7849, allocations: 4 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.785, allocations: 19.98 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.7851, allocations: 11.88 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000383/0.7854, allocations: 67.94 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.069e-05/0.7855, allocations: 23.98 kB / 1.024 GB, free: 10.89 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.0001537/0.7857, allocations: 136 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.7857, allocations: 11.91 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.861e-05/0.7857, allocations: 16.5 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.7858, allocations: 4 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.7858, allocations: 3.938 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.7858, allocations: 7.984 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000659/0.7864, allocations: 0.6119 MB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.7865, allocations: 0 / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.017e-05/0.7865, allocations: 15.92 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.7865, allocations: 7.938 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.7866, allocations: 8 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.7866, allocations: 3.984 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7866, allocations: 0 / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004697/0.787, allocations: 418.5 kB / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.7871, allocations: 89 kB / 1.026 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.7872, allocations: 11.94 kB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.7873, allocations: 11.98 kB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/0.7874, allocations: 19.97 kB / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.7874, allocations: 15.98 kB / 1.026 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.989e-05/0.7875, allocations: 101.3 kB / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7875, allocations: 0 / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003874/0.7879, allocations: 63.89 kB / 1.026 GB, free: 9.258 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.0002166/0.7881, allocations: 115.2 kB / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005676/0.7887, allocations: 354.5 kB / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7887, allocations: 448 / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.7889, allocations: 123.9 kB / 1.026 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.7893, allocations: 35.84 kB / 1.026 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007741/0.7901, allocations: 276.5 kB / 1.027 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.7905, allocations: 0.7047 MB / 1.027 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.77e-05/0.7906, allocations: 17.55 kB / 1.027 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.426e-05/0.7907, allocations: 19.44 kB / 1.027 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of SimCode: time 9.72e-07/0.7907, allocations: 0 / 1.027 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of Templates: time 0.007949/0.7986, allocations: 2.681 MB / 1.03 GB, free: 4.883 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=480 -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