Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.000788/0.000788, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008026/0.0008026, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8899/0.8899, allocations: 177.1 MB / 203.5 MB, free: 5.742 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 1.772/1.772, allocations: 389 MB / 0.6338 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.563e-05, allocations: 2.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001259/0.001285, allocations: 0.7018 MB / 1.002 GB, free: 12.31 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007682/0.002053, allocations: 0.8509 MB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.572e-05/0.002089, allocations: 0 / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.729e-05/0.002116, allocations: 3.938 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.821e-05/0.002184, allocations: 11.92 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001401/0.002324, allocations: 23.92 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.298e-05/0.002397, allocations: 43.91 kB / 1.003 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.674e-05/0.002494, allocations: 15.92 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.402e-05/0.002568, allocations: 31.91 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.758e-05/0.002616, allocations: 11.98 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.002642, allocations: 4 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.466e-06/0.00265, allocations: 4 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.002672, allocations: 19.91 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.129e-05/0.002693, allocations: 12 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.47e-05/0.002788, allocations: 47.84 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.002789, allocations: 4 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.32e-07/0.00279, allocations: 0 / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.002794, allocations: 0 / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003797/0.003174, allocations: 274.3 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.003209, allocations: 12.75 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.00324, allocations: 8.891 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.251e-05/0.003332, allocations: 117.7 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.003345, allocations: 384 / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.003356, allocations: 4.375 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.003492, allocations: 70.22 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.016e-06/0.003501, allocations: 3.938 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.003512, allocations: 4 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.003516, allocations: 0 / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.003631, allocations: 47.95 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003051/0.003936, allocations: 237.2 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.004063, allocations: 62.48 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.797e-05/0.004121, allocations: 32.91 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.004137, allocations: 0 / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.004158, allocations: 34.56 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.004159, allocations: 0 / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002558/0.004414, allocations: 113.5 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.004442, allocations: 51.41 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.152e-05/0.004504, allocations: 109.8 kB / 1.004 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.004514, allocations: 29.7 kB / 1.004 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.925e-05/0.004553, allocations: 92.12 kB / 1.004 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.004573, allocations: 19.78 kB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.004602, allocations: 13.72 kB / 1.004 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.657e-05/0.004678, allocations: 322.8 kB / 1.004 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.518e-05/0.004733, allocations: 23.92 kB / 1.004 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.762e-05/0.004781, allocations: 24.16 kB / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.004887, allocations: 52.89 kB / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.00489, allocations: 11.94 kB / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001342/0.005024, allocations: 81.59 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.005036, allocations: 8 kB / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.005042, allocations: 3.984 kB / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.005053, allocations: 0 / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.207e-05/0.005125, allocations: 15.98 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.005129, allocations: 0 / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.204e-05/0.005161, allocations: 4 kB / 1.004 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.005168, allocations: 7.984 kB / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 5.729e-05/0.005225, allocations: 117.8 kB / 1.005 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.005242, allocations: 7.953 kB / 1.005 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.962e-05/0.005261, allocations: 8 kB / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.005263, allocations: 0 / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.005266, allocations: 0 / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.005268, allocations: 0 / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.026e-05/0.005358, allocations: 113.3 kB / 1.005 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.00536, allocations: 3.938 kB / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.719e-05/0.005397, allocations: 15.92 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.005399, allocations: 4 kB / 1.005 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.005406, allocations: 3.984 kB / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.005407, allocations: 0 / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.005407, allocations: 0 / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.005562, allocations: 179.5 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.005571, allocations: 7.891 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.789e-06/0.005581, allocations: 0 / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.675e-05/0.005627, allocations: 11.98 kB / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.005674, allocations: 11.98 kB / 1.005 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.005679, allocations: 8 kB / 1.005 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.671e-05/0.005705, allocations: 79.28 kB / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005705, allocations: 0 / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000157/0.005862, allocations: 15.98 kB / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 7.6e-05/0.005938, allocations: 99.19 kB / 1.005 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.006082, allocations: 47.95 kB / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.006083, allocations: 3.938 kB / 1.005 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.585e-05/0.006139, allocations: 31.97 kB / 1.005 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.006339, allocations: 19.69 kB / 1.005 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002544/0.006593, allocations: 158.4 kB / 1.005 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.2e-05/0.006635, allocations: 67.34 kB / 1.005 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.006669, allocations: 8.781 kB / 1.005 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of SimCode: time 3.8e-07/0.006669, allocations: 0 / 1.005 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of Templates: time 0.00154/0.008209, allocations: 0.8416 MB / 1.006 GB, free: 7.23 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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: 6.331070254556835]