Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001111/0.001111, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001321/0.001321, allocations: 166 kB / 24.87 MB, free: 9.258 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.9778/0.9778, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.872/1.872, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.15e-06/5.15e-06, allocations: 3.984 kB / 0.7883 GB, free: 11.09 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.553e-05/4.068e-05, allocations: 6.25 kB / 0.7883 GB, free: 11.08 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.00232/0.002361, allocations: 0.7365 MB / 0.789 GB, free: 10.36 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001916/0.004276, allocations: 1.304 MB / 0.7903 GB, free: 9.047 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.286e-05/0.004369, allocations: 0 / 0.7903 GB, free: 9.047 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.108e-05/0.00441, allocations: 3.938 kB / 0.7903 GB, free: 9.043 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.004526, allocations: 28.36 kB / 0.7903 GB, free: 9.016 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008502/0.005377, allocations: 241.7 kB / 0.7906 GB, free: 8.781 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003841/0.005761, allocations: 251.5 kB / 0.7908 GB, free: 8.535 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.005886, allocations: 16.77 kB / 0.7908 GB, free: 8.516 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.006155, allocations: 156.4 kB / 0.791 GB, free: 8.363 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.006343, allocations: 68.78 kB / 0.7911 GB, free: 8.297 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.293e-05/0.006386, allocations: 20.66 kB / 0.7911 GB, free: 8.277 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.466e-05/0.006481, allocations: 35.92 kB / 0.7911 GB, free: 8.242 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.421e-05/0.006525, allocations: 33.14 kB / 0.7911 GB, free: 8.211 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.006627, allocations: 71.86 kB / 0.7912 GB, free: 8.141 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.006891, allocations: 163.6 kB / 0.7914 GB, free: 7.98 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.006895, allocations: 1.594 kB / 0.7914 GB, free: 7.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.333e-06/0.006897, allocations: 0 / 0.7914 GB, free: 7.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.006901, allocations: 0 / 0.7914 GB, free: 7.98 MB / 0.698 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.0006492/0.00755, allocations: 0.5157 MB / 0.7919 GB, free: 7.414 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.007593, allocations: 8.031 kB / 0.7919 GB, free: 7.406 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.216e-05/0.007675, allocations: 40.17 kB / 0.7919 GB, free: 7.371 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.007901, allocations: 155.8 kB / 0.7921 GB, free: 7.195 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.007933, allocations: 12.38 kB / 0.7921 GB, free: 7.184 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.007973, allocations: 24.36 kB / 0.7921 GB, free: 7.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.008164, allocations: 138.2 kB / 0.7922 GB, free: 7.008 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.008173, allocations: 192 / 0.7922 GB, free: 7.008 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.008188, allocations: 4.375 kB / 0.7922 GB, free: 7.004 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.008193, allocations: 4.312 kB / 0.7922 GB, free: 7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.556e-05/0.008269, allocations: 47.83 kB / 0.7923 GB, free: 6.953 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006531/0.008922, allocations: 0.4976 MB / 0.7928 GB, free: 6.426 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.009137, allocations: 118.1 kB / 0.7929 GB, free: 6.285 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.97e-05/0.009196, allocations: 44.52 kB / 0.7929 GB, free: 6.234 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.009207, allocations: 4 kB / 0.7929 GB, free: 6.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002927/0.009499, allocations: 202.7 kB / 0.7931 GB, free: 6.012 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 1.723e-06/0.009501, allocations: 0 / 0.7931 GB, free: 6.012 MB / 0.698 GB Notification: Performance of matching and sorting (n=22): time 0.0004476/0.009949, allocations: 269.3 kB / 0.7934 GB, free: 5.742 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.009999, allocations: 81.11 kB / 0.7935 GB, free: 5.645 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.01011, allocations: 202 kB / 0.7936 GB, free: 5.434 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.01015, allocations: 33.7 kB / 0.7937 GB, free: 5.395 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/0.01022, allocations: 147.3 kB / 0.7938 GB, free: 5.246 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.01027, allocations: 52.23 kB / 0.7939 GB, free: 5.195 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.01038, allocations: 75.31 kB / 0.7939 GB, free: 5.113 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.01053, allocations: 0.4975 MB / 0.7944 GB, free: 4.605 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.01068, allocations: 115.6 kB / 0.7945 GB, free: 4.477 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.01085, allocations: 217 kB / 0.7947 GB, free: 4.215 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.01109, allocations: 239.8 kB / 0.795 GB, free: 3.934 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.01109, allocations: 0 / 0.795 GB, free: 3.934 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004851/0.01157, allocations: 382.2 kB / 0.7953 GB, free: 3.531 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000344/0.01192, allocations: 67.39 kB / 0.7954 GB, free: 3.453 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.01193, allocations: 4 kB / 0.7954 GB, free: 3.449 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.01194, allocations: 0.6562 kB / 0.7954 GB, free: 3.449 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.666e-05/0.01204, allocations: 27.92 kB / 0.7954 GB, free: 3.422 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.01205, allocations: 8.469 kB / 0.7954 GB, free: 3.414 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.0123, allocations: 65.11 kB / 0.7955 GB, free: 3.352 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.01233, allocations: 20.8 kB / 0.7955 GB, free: 3.332 MB / 0.698 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.0001601/0.01249, allocations: 191.3 kB / 0.7957 GB, free: 3.137 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.657e-05/0.01254, allocations: 23.94 kB / 0.7957 GB, free: 3.113 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.751e-05/0.01258, allocations: 17.78 kB / 0.7957 GB, free: 3.094 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.01259, allocations: 0 / 0.7957 GB, free: 3.094 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.01259, allocations: 4 kB / 0.7957 GB, free: 3.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.0126, allocations: 4.953 kB / 0.7958 GB, free: 3.086 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005239/0.01312, allocations: 0.5908 MB / 0.7963 GB, free: 2.461 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01313, allocations: 2.312 kB / 0.7963 GB, free: 2.461 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.323e-05/0.01316, allocations: 11.94 kB / 0.7963 GB, free: 2.449 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.01316, allocations: 0 / 0.7963 GB, free: 2.449 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.01318, allocations: 11.98 kB / 0.7964 GB, free: 2.438 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.01318, allocations: 0 / 0.7964 GB, free: 2.438 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.01318, allocations: 0 / 0.7964 GB, free: 2.438 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.01357, allocations: 0.4963 MB / 0.7968 GB, free: 1.926 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.01359, allocations: 15.34 kB / 0.7969 GB, free: 1.914 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.01362, allocations: 15.97 kB / 0.7969 GB, free: 1.898 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.01376, allocations: 7.984 kB / 0.7969 GB, free: 1.891 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/0.01382, allocations: 23.95 kB / 0.7969 GB, free: 1.867 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.01384, allocations: 15.98 kB / 0.7969 GB, free: 1.852 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.479e-05/0.01389, allocations: 131.2 kB / 0.797 GB, free: 1.723 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.01389, allocations: 0 / 0.797 GB, free: 1.723 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003875/0.01428, allocations: 55.94 kB / 0.7971 GB, free: 1.668 MB / 0.698 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.0001761/0.01446, allocations: 116.5 kB / 0.7972 GB, free: 1.547 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003919/0.01485, allocations: 351 kB / 0.7975 GB, free: 1.164 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01485, allocations: 0 / 0.7975 GB, free: 1.164 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.01495, allocations: 76.66 kB / 0.7976 GB, free: 1.086 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.01534, allocations: 35.94 kB / 0.7976 GB, free: 1.055 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/0.01579, allocations: 258 kB / 0.7979 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.673e-05/0.01585, allocations: 68.91 kB / 0.798 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.402e-05/0.01591, allocations: 20.77 kB / 0.798 GB, free: 0.668 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.01607, allocations: 118.2 kB / 0.7981 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of SimCode: time 9.42e-07/0.01608, allocations: 3.938 kB / 0.7981 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of Templates: time 0.006507/0.02258, allocations: 3.174 MB / 0.8012 GB, free: 13.45 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.115365015808493]