Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 85.17 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.913/0.913, allocations: 177.1 MB / 203.7 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.384/2.384, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 3.938 kB / 0.8898 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.214e-05, allocations: 5.125 kB / 0.8898 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.00136/0.001382, allocations: 0.7408 MB / 0.8905 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.002684, allocations: 1.295 MB / 0.8918 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.415e-05/0.002748, allocations: 4 kB / 0.8918 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.12e-05/0.002779, allocations: 3.938 kB / 0.8918 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.724e-05/0.002866, allocations: 27.73 kB / 0.8918 GB, free: 7.66 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005471/0.003413, allocations: 239.4 kB / 0.892 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.003634, allocations: 263.5 kB / 0.8923 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.456e-05/0.003718, allocations: 4.234 kB / 0.8923 GB, free: 7.16 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.003878, allocations: 155.8 kB / 0.8924 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.004017, allocations: 83.73 kB / 0.8925 GB, free: 6.926 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.004048, allocations: 16 kB / 0.8925 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.271e-05/0.004131, allocations: 31.94 kB / 0.8925 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.365e-05/0.004165, allocations: 31.89 kB / 0.8926 GB, free: 6.848 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002833/0.004448, allocations: 75.86 kB / 0.8926 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.004633, allocations: 159.6 kB / 0.8928 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.004635, allocations: 0 / 0.8928 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.225e-06/0.004637, allocations: 3.984 kB / 0.8928 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.004641, allocations: 0 / 0.8928 GB, free: 6.613 MB / 0.8542 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.0005303/0.005171, allocations: 0.5152 MB / 0.8933 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.005215, allocations: 8.625 kB / 0.8933 GB, free: 6.039 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.223e-05/0.005277, allocations: 36.81 kB / 0.8933 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.00546, allocations: 160.4 kB / 0.8935 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.005482, allocations: 12.36 kB / 0.8935 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.00551, allocations: 24.38 kB / 0.8935 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.005651, allocations: 126.2 kB / 0.8937 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.00566, allocations: 4.125 kB / 0.8937 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.005671, allocations: 8.375 kB / 0.8937 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.005677, allocations: 4.359 kB / 0.8937 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.243e-05/0.00573, allocations: 43.89 kB / 0.8937 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.006188, allocations: 0.4991 MB / 0.8942 GB, free: 5.055 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.006349, allocations: 126.1 kB / 0.8943 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.084e-05/0.00639, allocations: 39.34 kB / 0.8944 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.216e-06/0.006398, allocations: 7.938 kB / 0.8944 GB, free: 4.852 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002169/0.006615, allocations: 206.1 kB / 0.8946 GB, free: 4.629 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=22): time 1.182e-06/0.006616, allocations: 0 / 0.8946 GB, free: 4.629 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22): time 0.0003373/0.006953, allocations: 276.7 kB / 0.8948 GB, free: 4.355 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.007, allocations: 85.11 kB / 0.8949 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.007101, allocations: 185.8 kB / 0.8951 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.007132, allocations: 37.7 kB / 0.8951 GB, free: 4.012 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.968e-05/0.007202, allocations: 151.3 kB / 0.8953 GB, free: 3.859 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.00724, allocations: 51.67 kB / 0.8953 GB, free: 3.809 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.533e-05/0.007326, allocations: 79.3 kB / 0.8954 GB, free: 3.723 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.007476, allocations: 0.4962 MB / 0.8959 GB, free: 3.215 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.007586, allocations: 115.6 kB / 0.896 GB, free: 3.086 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.00773, allocations: 214.1 kB / 0.8962 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.007903, allocations: 236.3 kB / 0.8964 GB, free: 2.547 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.007906, allocations: 4 kB / 0.8964 GB, free: 2.543 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003379/0.008244, allocations: 380.1 kB / 0.8968 GB, free: 2.141 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.586e-05/0.00829, allocations: 70.05 kB / 0.8969 GB, free: 2.062 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.008297, allocations: 7.938 kB / 0.8969 GB, free: 2.055 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.008309, allocations: 4 kB / 0.8969 GB, free: 2.051 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.527e-05/0.008374, allocations: 19.98 kB / 0.8969 GB, free: 2.031 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.008382, allocations: 8.156 kB / 0.8969 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.008533, allocations: 55.84 kB / 0.8969 GB, free: 1.969 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.008558, allocations: 19.98 kB / 0.897 GB, free: 1.949 MB / 0.8542 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.000121/0.008679, allocations: 194.3 kB / 0.8971 GB, free: 1.746 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.008704, allocations: 27.91 kB / 0.8972 GB, free: 1.719 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.705e-05/0.008741, allocations: 16.42 kB / 0.8972 GB, free: 1.703 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.008744, allocations: 8 kB / 0.8972 GB, free: 1.695 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.008747, allocations: 0 / 0.8972 GB, free: 1.695 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.008751, allocations: 0 / 0.8972 GB, free: 1.695 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003921/0.009143, allocations: 0.5925 MB / 0.8978 GB, free: 1.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.009146, allocations: 3.938 kB / 0.8978 GB, free: 1.066 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.987e-05/0.009176, allocations: 8 kB / 0.8978 GB, free: 1.059 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.00918, allocations: 0 / 0.8978 GB, free: 1.059 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.009194, allocations: 11.98 kB / 0.8978 GB, free: 1.047 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.009196, allocations: 4 kB / 0.8978 GB, free: 1.043 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.0092, allocations: 4 kB / 0.8978 GB, free: 1.039 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.009491, allocations: 0.4948 MB / 0.8983 GB, free: 0.5234 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.168e-05/0.009502, allocations: 11.95 kB / 0.8983 GB, free: 0.5117 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.009523, allocations: 8 kB / 0.8983 GB, free: 0.5039 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.199e-05/0.009595, allocations: 7.984 kB / 0.8983 GB, free: 0.4961 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.009647, allocations: 23.95 kB / 0.8983 GB, free: 484 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.00966, allocations: 15.98 kB / 0.8984 GB, free: 468 kB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.813e-05/0.009708, allocations: 134 kB / 0.8985 GB, free: 336 kB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009708, allocations: 0 / 0.8985 GB, free: 336 kB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002413/0.00995, allocations: 67.88 kB / 0.8985 GB, free: 268 kB / 0.8542 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.0001264/0.01008, allocations: 115.8 kB / 0.8987 GB, free: 144 kB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002915/0.01037, allocations: 349.9 kB / 0.899 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01037, allocations: 0 / 0.899 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.692e-05/0.01045, allocations: 77.91 kB / 0.8991 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.0107, allocations: 36.09 kB / 0.8991 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.01114, allocations: 262.3 kB / 0.8993 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.026e-05/0.01119, allocations: 72 kB / 0.8994 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.826e-05/0.01124, allocations: 13.48 kB / 0.8994 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.01137, allocations: 122.2 kB / 0.8995 GB, free: 15.13 MB / 0.8698 GB Notification: Performance of SimCode: time 1.193e-06/0.01137, allocations: 0 / 0.8995 GB, free: 15.13 MB / 0.8698 GB Notification: Performance of Templates: time 0.00463/0.016, allocations: 3.112 MB / 0.9026 GB, free: 12.08 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.289928642101586]