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.00182/0.00182, allocations: 88.16 kB / 19.44 MB, free: 192 kB / 13.93 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.00202/0.00202, allocations: 165.3 kB / 22.76 MB, free: 1.523 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.583/1.583, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 3.346/3.346, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] 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.384e-06/2.384e-06, allocations: 0 / 0.8775 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.958e-05/3.196e-05, allocations: 6.25 kB / 0.8775 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001944/0.001976, allocations: 0.7316 MB / 0.8782 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002197/0.004172, allocations: 1.291 MB / 0.8794 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.131e-05/0.004224, allocations: 0 / 0.8794 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.231e-05/0.004256, allocations: 7.875 kB / 0.8795 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.148e-05/0.004348, allocations: 18.42 kB / 0.8795 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006659/0.005013, allocations: 245.4 kB / 0.8797 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003329/0.005346, allocations: 252.9 kB / 0.8799 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.181e-05/0.005438, allocations: 12.22 kB / 0.88 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002142/0.005652, allocations: 147.8 kB / 0.8801 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.005823, allocations: 76.89 kB / 0.8802 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.793e-05/0.00589, allocations: 24 kB / 0.8802 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.411e-05/0.005985, allocations: 35.98 kB / 0.8802 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.563e-05/0.00603, allocations: 28.56 kB / 0.8803 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.006158, allocations: 87.84 kB / 0.8803 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000374/0.006532, allocations: 261.5 kB / 0.8806 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.006535, allocations: 0 / 0.8806 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.92e-07/0.006536, allocations: 0 / 0.8806 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.006541, allocations: 7.938 kB / 0.8806 GB, free: 3.441 MB / 0.8386 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.0008705/0.007411, allocations: 0.5188 MB / 0.8811 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.007448, allocations: 11.31 kB / 0.8811 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.007552, allocations: 32.88 kB / 0.8811 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005825/0.008135, allocations: 188.6 kB / 0.8813 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.008165, allocations: 12.38 kB / 0.8813 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.943e-05/0.008214, allocations: 24.36 kB / 0.8814 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.008481, allocations: 145.5 kB / 0.8815 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.00849, allocations: 1.125 kB / 0.8815 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.008507, allocations: 4.359 kB / 0.8815 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.00852, allocations: 9.156 kB / 0.8815 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.008669, allocations: 63.95 kB / 0.8816 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000956/0.009625, allocations: 0.5191 MB / 0.8821 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.009985, allocations: 179.6 kB / 0.8823 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.0101, allocations: 63.36 kB / 0.8823 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.01012, allocations: 11.42 kB / 0.8823 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003781/0.0105, allocations: 224.3 kB / 0.8825 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.332e-06/0.0105, allocations: 0 / 0.8825 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22): time 0.0007154/0.01122, allocations: 336.9 kB / 0.8829 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.8e-05/0.01129, allocations: 85.11 kB / 0.8829 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.01147, allocations: 194.5 kB / 0.8831 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.451e-05/0.01152, allocations: 41.7 kB / 0.8832 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.01164, allocations: 152.5 kB / 0.8833 GB, free: 448 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.128e-05/0.01171, allocations: 51.62 kB / 0.8834 GB, free: 396 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.01186, allocations: 87.33 kB / 0.8834 GB, free: 300 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003077/0.01217, allocations: 0.5083 MB / 0.8839 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.01244, allocations: 165.1 kB / 0.8841 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/0.01279, allocations: 257.1 kB / 0.8843 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003956/0.01318, allocations: 284.8 kB / 0.8846 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.01319, allocations: 0 / 0.8846 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007625/0.01395, allocations: 464 kB / 0.8851 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.659e-05/0.01402, allocations: 67.41 kB / 0.8851 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01402, allocations: 4.219 kB / 0.8851 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.01404, allocations: 4 kB / 0.8851 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.01415, allocations: 23.92 kB / 0.8851 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.084e-05/0.01421, allocations: 4 kB / 0.8852 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.01452, allocations: 51.84 kB / 0.8852 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-05/0.01456, allocations: 23.98 kB / 0.8852 GB, free: 14.3 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.0004392/0.015, allocations: 202.4 kB / 0.8854 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.01506, allocations: 23.91 kB / 0.8854 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.0151, allocations: 16.42 kB / 0.8855 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.01511, allocations: 4 kB / 0.8855 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.01512, allocations: 0 / 0.8855 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.01512, allocations: 0 / 0.8855 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008222/0.01594, allocations: 0.6713 MB / 0.8861 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01594, allocations: 0 / 0.8861 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.663e-05/0.01599, allocations: 11.98 kB / 0.8861 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.01599, allocations: 0 / 0.8861 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.01602, allocations: 11.98 kB / 0.8861 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01602, allocations: 4 kB / 0.8861 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01602, allocations: 0 / 0.8861 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006073/0.01663, allocations: 0.54 MB / 0.8867 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.568e-05/0.01664, allocations: 11.89 kB / 0.8867 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.01668, allocations: 11.98 kB / 0.8867 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.01682, allocations: 11.98 kB / 0.8867 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.04e-05/0.0169, allocations: 23.95 kB / 0.8867 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.01693, allocations: 15.98 kB / 0.8867 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.364e-05/0.01702, allocations: 139.2 kB / 0.8869 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01702, allocations: 0 / 0.8869 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003634/0.01739, allocations: 67.88 kB / 0.8869 GB, free: 12.47 MB / 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.0001994/0.01759, allocations: 111.2 kB / 0.887 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006707/0.01826, allocations: 441.7 kB / 0.8875 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01826, allocations: 0 / 0.8875 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.01847, allocations: 107.6 kB / 0.8876 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.0189, allocations: 36.91 kB / 0.8876 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006343/0.01954, allocations: 289.8 kB / 0.8879 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.01965, allocations: 96.95 kB / 0.888 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.573e-05/0.01972, allocations: 17.48 kB / 0.888 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.01977, allocations: 24.48 kB / 0.888 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of SimCode: time 7.72e-07/0.01977, allocations: 0 / 0.888 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of Templates: time 0.007419/0.02719, allocations: 2.908 MB / 0.8909 GB, free: 8.422 MB / 0.8542 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.523465193109587]