Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.0009851/0.0009851, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001004/0.001004, 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 1.039/1.039, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.415/2.415, allocations: 438.1 MB / 0.682 GB, free: 14.21 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.TimerNegativeStartTime,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",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,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",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.737e-06/3.737e-06, allocations: 0 / 0.8898 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.151e-05/3.525e-05, allocations: 9.344 kB / 0.8898 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002228/0.002264, allocations: 0.68 MB / 0.8904 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.003595, allocations: 1.197 MB / 0.8916 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.384e-05/0.003649, allocations: 4 kB / 0.8916 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.993e-05/0.003679, allocations: 3.938 kB / 0.8916 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.216e-05/0.003761, allocations: 19.84 kB / 0.8916 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.004164, allocations: 139.5 kB / 0.8918 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.00432, allocations: 143.7 kB / 0.8919 GB, free: 7.562 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.797e-05/0.004408, allocations: 7.984 kB / 0.8919 GB, free: 7.555 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.00452, allocations: 87.86 kB / 0.892 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.004627, allocations: 35.94 kB / 0.892 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.00465, allocations: 12 kB / 0.892 GB, free: 7.422 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.136e-05/0.004712, allocations: 23.98 kB / 0.8921 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.634e-05/0.004738, allocations: 23.91 kB / 0.8921 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.903e-05/0.004787, allocations: 43.95 kB / 0.8921 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.004925, allocations: 99.69 kB / 0.8922 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.00493, allocations: 0 / 0.8922 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.513e-06/0.004931, allocations: 0 / 0.8922 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.004935, allocations: 0 / 0.8922 GB, free: 7.234 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004555/0.005391, allocations: 450 kB / 0.8926 GB, free: 6.75 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.005427, allocations: 8.625 kB / 0.8927 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/0.005475, allocations: 24.88 kB / 0.8927 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.005603, allocations: 136.6 kB / 0.8928 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.005619, allocations: 8.375 kB / 0.8928 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.005637, allocations: 12.36 kB / 0.8928 GB, free: 6.539 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.005738, allocations: 90.83 kB / 0.8929 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.005744, allocations: 192 / 0.8929 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.005753, allocations: 384 / 0.8929 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.005758, allocations: 384 / 0.8929 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.119e-05/0.005799, allocations: 31.91 kB / 0.8929 GB, free: 6.41 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.006143, allocations: 316.1 kB / 0.8932 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.006266, allocations: 75.02 kB / 0.8933 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.606e-05/0.006292, allocations: 23.67 kB / 0.8933 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-06/0.006302, allocations: 4 kB / 0.8933 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.006445, allocations: 119.2 kB / 0.8935 GB, free: 5.828 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.006446, allocations: 0 / 0.8935 GB, free: 5.828 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0002656/0.006712, allocations: 177.5 kB / 0.8936 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.006743, allocations: 59.39 kB / 0.8937 GB, free: 5.578 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.179e-05/0.006815, allocations: 173.8 kB / 0.8939 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.006836, allocations: 37.7 kB / 0.8939 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.006883, allocations: 134.9 kB / 0.894 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.006907, allocations: 31.78 kB / 0.894 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.599e-05/0.006963, allocations: 51.33 kB / 0.8941 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.007103, allocations: 0.4923 MB / 0.8946 GB, free: 4.617 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.585e-05/0.007169, allocations: 57.67 kB / 0.8946 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.613e-05/0.007245, allocations: 120 kB / 0.8947 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.316e-05/0.007338, allocations: 126.8 kB / 0.8949 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.007341, allocations: 4 kB / 0.8949 GB, free: 4.258 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001861/0.007527, allocations: 212.9 kB / 0.8951 GB, free: 4.031 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/0.007563, allocations: 41.69 kB / 0.8951 GB, free: 3.984 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.007569, allocations: 7.938 kB / 0.8951 GB, free: 3.977 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.007579, allocations: 0 / 0.8951 GB, free: 3.977 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.899e-05/0.007628, allocations: 12 kB / 0.8951 GB, free: 3.965 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.007632, allocations: 0 / 0.8951 GB, free: 3.965 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.007734, allocations: 39.98 kB / 0.8952 GB, free: 3.926 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.007747, allocations: 8 kB / 0.8952 GB, free: 3.918 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 8.285e-05/0.00783, allocations: 173.6 kB / 0.8953 GB, free: 3.738 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.007846, allocations: 15.95 kB / 0.8954 GB, free: 3.723 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.007873, allocations: 20.36 kB / 0.8954 GB, free: 3.703 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.007876, allocations: 3.984 kB / 0.8954 GB, free: 3.699 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.007877, allocations: 0 / 0.8954 GB, free: 3.699 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.00788, allocations: 0 / 0.8954 GB, free: 3.699 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.008116, allocations: 389.9 kB / 0.8958 GB, free: 3.285 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.008118, allocations: 8 kB / 0.8958 GB, free: 3.277 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.62e-05/0.008135, allocations: 4 kB / 0.8958 GB, free: 3.273 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.008136, allocations: 0 / 0.8958 GB, free: 3.273 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.008145, allocations: 7.922 kB / 0.8958 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.008147, allocations: 4 kB / 0.8958 GB, free: 3.262 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.008149, allocations: 4 kB / 0.8958 GB, free: 3.258 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.008303, allocations: 306.8 kB / 0.8961 GB, free: 2.941 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-06/0.008312, allocations: 11.89 kB / 0.8961 GB, free: 2.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.008327, allocations: 3.938 kB / 0.8961 GB, free: 2.926 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.648e-05/0.008374, allocations: 7.984 kB / 0.8961 GB, free: 2.918 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.008407, allocations: 19.97 kB / 0.8961 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.008412, allocations: 4 kB / 0.8961 GB, free: 2.895 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.945e-05/0.008452, allocations: 139.2 kB / 0.8963 GB, free: 2.758 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.008452, allocations: 0 / 0.8963 GB, free: 2.758 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000164/0.008616, allocations: 32 kB / 0.8963 GB, free: 2.727 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001257/0.008742, allocations: 105.3 kB / 0.8964 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001708/0.008912, allocations: 184.7 kB / 0.8966 GB, free: 2.414 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.008913, allocations: 0 / 0.8966 GB, free: 2.414 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.579e-05/0.008969, allocations: 59.83 kB / 0.8966 GB, free: 2.352 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.009145, allocations: 15.98 kB / 0.8966 GB, free: 2.336 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002446/0.00939, allocations: 190.4 kB / 0.8968 GB, free: 2.121 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.348e-05/0.009423, allocations: 59.36 kB / 0.8969 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.587e-05/0.009449, allocations: 8.484 kB / 0.8969 GB, free: 2.035 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.913e-05/0.009528, allocations: 98.17 kB / 0.897 GB, free: 1.938 MB / 0.8542 GB Notification: Performance of SimCode: time 6.41e-07/0.009529, allocations: 4 kB / 0.897 GB, free: 1.934 MB / 0.8542 GB Notification: Performance of Templates: time 0.003308/0.01284, allocations: 1.907 MB / 0.8988 GB, free: 56 kB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.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.511814800091088]