Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 106.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001986/0.001986, allocations: 190.7 kB / 20.78 MB, free: 1.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.072/3.072, allocations: 496.2 MB / 0.7819 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 67.89 kB / 1.136 GB, free: 12.43 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.16/1.162, allocations: 173.6 MB / 1.305 GB, free: 33.45 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002117/1.164, allocations: 0.7016 MB / 1.306 GB, free: 33.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009034/1.165, allocations: 0.8491 MB / 1.307 GB, free: 32.38 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.121e-05/1.165, allocations: 0 / 1.307 GB, free: 32.38 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.504e-05/1.165, allocations: 3.938 kB / 1.307 GB, free: 32.37 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.07e-05/1.165, allocations: 6.781 kB / 1.307 GB, free: 32.37 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00016/1.165, allocations: 17.22 kB / 1.307 GB, free: 32.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.455e-05/1.165, allocations: 54.78 kB / 1.307 GB, free: 32.33 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/1.166, allocations: 14.38 kB / 1.307 GB, free: 32.32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.948e-05/1.166, allocations: 13.2 kB / 1.307 GB, free: 32.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.861e-05/1.166, allocations: 27.86 kB / 1.307 GB, free: 32.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/1.166, allocations: 2.875 kB / 1.307 GB, free: 32.3 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/1.166, allocations: 5.719 kB / 1.307 GB, free: 32.3 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/1.166, allocations: 15.27 kB / 1.307 GB, free: 32.29 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/1.166, allocations: 28.69 kB / 1.307 GB, free: 32.27 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/1.166, allocations: 44.02 kB / 1.307 GB, free: 32.26 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/1.166, allocations: 0 / 1.307 GB, free: 32.26 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.513e-06/1.166, allocations: 0 / 1.307 GB, free: 32.26 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.132e-06/1.166, allocations: 0 / 1.307 GB, free: 32.26 MB / 1.061 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.0005235/1.166, allocations: 360 kB / 1.308 GB, free: 31.89 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/1.166, allocations: 8.5 kB / 1.308 GB, free: 31.89 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/1.166, allocations: 11.67 kB / 1.308 GB, free: 31.89 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/1.167, allocations: 174.4 kB / 1.308 GB, free: 31.68 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/1.167, allocations: 384 / 1.308 GB, free: 31.68 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.872e-05/1.167, allocations: 3.125 kB / 1.308 GB, free: 31.68 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/1.167, allocations: 74.38 kB / 1.308 GB, free: 31.64 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/1.167, allocations: 3.938 kB / 1.308 GB, free: 31.63 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/1.167, allocations: 4 kB / 1.308 GB, free: 31.63 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/1.167, allocations: 0 / 1.308 GB, free: 31.63 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002233/1.167, allocations: 51.66 kB / 1.308 GB, free: 31.62 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/1.168, allocations: 287.8 kB / 1.308 GB, free: 31.33 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/1.168, allocations: 67.66 kB / 1.308 GB, free: 31.29 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.252e-05/1.168, allocations: 29.3 kB / 1.308 GB, free: 31.27 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/1.168, allocations: 0 / 1.308 GB, free: 31.27 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.303e-05/1.168, allocations: 37.34 kB / 1.308 GB, free: 31.23 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/1.168, allocations: 0 / 1.308 GB, free: 31.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0003722/1.168, allocations: 105.5 kB / 1.308 GB, free: 31.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/1.168, allocations: 54.69 kB / 1.308 GB, free: 31.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.566e-05/1.168, allocations: 105.6 kB / 1.308 GB, free: 31.02 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.916e-06/1.168, allocations: 29.7 kB / 1.309 GB, free: 30.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/1.168, allocations: 95.09 kB / 1.309 GB, free: 30.89 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/1.168, allocations: 14.89 kB / 1.309 GB, free: 30.88 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/1.168, allocations: 20.12 kB / 1.309 GB, free: 30.86 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.634e-05/1.168, allocations: 318.8 kB / 1.309 GB, free: 30.54 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.202e-05/1.169, allocations: 29.56 kB / 1.309 GB, free: 30.53 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.453e-05/1.169, allocations: 22.52 kB / 1.309 GB, free: 30.53 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/1.169, allocations: 52.45 kB / 1.309 GB, free: 30.51 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.169, allocations: 3.281 kB / 1.309 GB, free: 30.51 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001961/1.169, allocations: 87.59 kB / 1.309 GB, free: 30.46 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/1.169, allocations: 5.719 kB / 1.309 GB, free: 30.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/1.169, allocations: 0 / 1.309 GB, free: 30.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/1.169, allocations: 0 / 1.309 GB, free: 30.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/1.169, allocations: 15.05 kB / 1.309 GB, free: 30.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/1.169, allocations: 4 kB / 1.309 GB, free: 30.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.677e-05/1.169, allocations: 9.016 kB / 1.309 GB, free: 30.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/1.169, allocations: 0 / 1.309 GB, free: 30.45 MB / 1.061 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,intGreEquThr.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.556e-05/1.169, allocations: 123.7 kB / 1.309 GB, free: 30.33 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/1.169, allocations: 3.031 kB / 1.309 GB, free: 30.33 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.108e-05/1.169, allocations: 3.906 kB / 1.309 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/1.169, allocations: 0 / 1.309 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.169, allocations: 0 / 1.309 GB, free: 30.32 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/1.169, allocations: 6.812 kB / 1.309 GB, free: 30.31 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/1.169, allocations: 179.8 kB / 1.309 GB, free: 30.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/1.169, allocations: 6.5 kB / 1.309 GB, free: 30.1 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.101e-05/1.169, allocations: 18.38 kB / 1.309 GB, free: 30.1 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/1.169, allocations: 0 / 1.309 GB, free: 30.1 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.557e-06/1.17, allocations: 0 / 1.309 GB, free: 30.1 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/1.17, allocations: 0 / 1.309 GB, free: 30.1 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/1.17, allocations: 0 / 1.309 GB, free: 30.1 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/1.17, allocations: 190.2 kB / 1.31 GB, free: 29.95 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/1.17, allocations: 77.11 kB / 1.31 GB, free: 29.85 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/1.17, allocations: 2.812 kB / 1.31 GB, free: 29.85 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.359e-05/1.17, allocations: 6.172 kB / 1.31 GB, free: 29.85 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/1.17, allocations: 12.78 kB / 1.31 GB, free: 29.85 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/1.17, allocations: 0 / 1.31 GB, free: 29.85 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.696e-05/1.17, allocations: 88.06 kB / 1.31 GB, free: 29.77 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.17, allocations: 0 / 1.31 GB, free: 29.77 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002099/1.17, allocations: 20.08 kB / 1.31 GB, free: 29.76 MB / 1.061 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 (intGreEquThr.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 9.236e-05/1.17, allocations: 102.3 kB / 1.31 GB, free: 29.67 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002388/1.171, allocations: 50.81 kB / 1.31 GB, free: 29.66 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.171, allocations: 0 / 1.31 GB, free: 29.66 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.924e-05/1.171, allocations: 32.91 kB / 1.31 GB, free: 29.65 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/1.171, allocations: 14.3 kB / 1.31 GB, free: 29.64 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/1.171, allocations: 141.8 kB / 1.31 GB, free: 29.52 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/1.171, allocations: 0.6784 MB / 1.311 GB, free: 28.83 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.905e-05/1.171, allocations: 2.781 kB / 1.311 GB, free: 28.83 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/1.171, allocations: 16.55 kB / 1.311 GB, free: 28.82 MB / 1.061 GB Notification: Performance of SimCode: time 3.51e-07/1.171, allocations: 4 kB / 1.311 GB, free: 28.82 MB / 1.061 GB Notification: Performance of Templates: time 0.003113/1.175, allocations: 0.9119 MB / 1.312 GB, free: 28.72 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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: 10.126896264962852]