Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 225.6 MB / 249.9 MB, free: 3.219 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.717/2.717, allocations: 489.7 MB / 0.7761 GB, free: 2.449 MB / 0.6075 GB [Timeout remaining time 87] 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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=523,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=523,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 63.91 kB / 1.127 GB, free: 5.137 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8179/0.8198, allocations: 172 MB / 1.295 GB, free: 38.68 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001663/0.8214, allocations: 0.7126 MB / 1.296 GB, free: 38.24 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006564/0.8221, allocations: 0.8347 MB / 1.296 GB, free: 37.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.913e-05/0.8221, allocations: 6.875 kB / 1.296 GB, free: 37.6 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.52e-05/0.8222, allocations: 3.188 kB / 1.296 GB, free: 37.6 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.853e-05/0.8222, allocations: 7.938 kB / 1.296 GB, free: 37.59 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.8224, allocations: 27.88 kB / 1.296 GB, free: 37.58 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.185e-05/0.8224, allocations: 39.84 kB / 1.296 GB, free: 37.56 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.363e-05/0.8225, allocations: 13.7 kB / 1.296 GB, free: 37.55 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.561e-05/0.8226, allocations: 24.39 kB / 1.296 GB, free: 37.54 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.217e-05/0.8226, allocations: 16.91 kB / 1.297 GB, free: 37.54 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.8227, allocations: 5.75 kB / 1.297 GB, free: 37.54 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.8227, allocations: 2.812 kB / 1.297 GB, free: 37.54 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.8227, allocations: 22.31 kB / 1.297 GB, free: 37.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.8227, allocations: 17.98 kB / 1.297 GB, free: 37.51 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.553e-05/0.8228, allocations: 52.36 kB / 1.297 GB, free: 37.49 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.8228, allocations: 0 / 1.297 GB, free: 37.49 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8228, allocations: 0 / 1.297 GB, free: 37.49 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.8228, allocations: 2.781 kB / 1.297 GB, free: 37.49 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.0004271/0.8232, allocations: 357.5 kB / 1.297 GB, free: 37.12 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.8233, allocations: 11.91 kB / 1.297 GB, free: 37.12 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.8233, allocations: 0.9375 kB / 1.297 GB, free: 37.12 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.988e-05/0.8234, allocations: 174.7 kB / 1.297 GB, free: 36.92 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.8234, allocations: 7.094 kB / 1.297 GB, free: 36.91 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.8234, allocations: 3.406 kB / 1.297 GB, free: 36.91 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.8236, allocations: 77.31 kB / 1.297 GB, free: 36.86 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.8236, allocations: 0 / 1.297 GB, free: 36.86 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.8236, allocations: 0 / 1.297 GB, free: 36.86 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.8236, allocations: 0 / 1.297 GB, free: 36.86 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.8238, allocations: 62.3 kB / 1.297 GB, free: 36.84 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.8241, allocations: 278.8 kB / 1.298 GB, free: 36.56 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.8243, allocations: 61.52 kB / 1.298 GB, free: 36.53 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.126e-05/0.8244, allocations: 30.23 kB / 1.298 GB, free: 36.51 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.8244, allocations: 2.562 kB / 1.298 GB, free: 36.51 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.188e-05/0.8244, allocations: 38.5 kB / 1.298 GB, free: 36.46 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.8244, allocations: 0 / 1.298 GB, free: 36.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.000354/0.8248, allocations: 108.9 kB / 1.298 GB, free: 36.42 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/0.8248, allocations: 55.41 kB / 1.298 GB, free: 36.35 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.538e-05/0.8248, allocations: 109.8 kB / 1.298 GB, free: 36.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.8248, allocations: 32.58 kB / 1.298 GB, free: 36.21 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.517e-05/0.8249, allocations: 84.14 kB / 1.298 GB, free: 36.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.8249, allocations: 14.62 kB / 1.298 GB, free: 36.11 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.8249, allocations: 19.55 kB / 1.298 GB, free: 36.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.842e-05/0.825, allocations: 320.6 kB / 1.298 GB, free: 35.78 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.694e-05/0.825, allocations: 20.58 kB / 1.298 GB, free: 35.77 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.676e-05/0.8251, allocations: 22.14 kB / 1.298 GB, free: 35.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.8253, allocations: 63.95 kB / 1.298 GB, free: 35.74 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.8253, allocations: 0 / 1.298 GB, free: 35.74 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001914/0.8255, allocations: 82.36 kB / 1.299 GB, free: 35.7 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.8255, allocations: 5.656 kB / 1.299 GB, free: 35.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.8255, allocations: 0 / 1.299 GB, free: 35.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.8255, allocations: 0 / 1.299 GB, free: 35.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.8256, allocations: 14.59 kB / 1.299 GB, free: 35.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.8256, allocations: 4 kB / 1.299 GB, free: 35.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.907e-05/0.8257, allocations: 16.55 kB / 1.299 GB, free: 35.69 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.8257, allocations: 2.875 kB / 1.299 GB, free: 35.69 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,intGreThr.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 4.772e-05/0.8257, allocations: 116.4 kB / 1.299 GB, free: 35.57 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.8258, allocations: 0 / 1.299 GB, free: 35.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.074e-05/0.8258, allocations: 10.44 kB / 1.299 GB, free: 35.55 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.8258, allocations: 336 / 1.299 GB, free: 35.55 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.8258, allocations: 0 / 1.299 GB, free: 35.55 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.8258, allocations: 5.938 kB / 1.299 GB, free: 35.55 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.8259, allocations: 179.7 kB / 1.299 GB, free: 35.35 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.8259, allocations: 2.656 kB / 1.299 GB, free: 35.35 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.997e-05/0.826, allocations: 16.94 kB / 1.299 GB, free: 35.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.826, allocations: 2.719 kB / 1.299 GB, free: 35.34 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.826, allocations: 4 kB / 1.299 GB, free: 35.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.826, allocations: 0 / 1.299 GB, free: 35.34 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.826, allocations: 0 / 1.299 GB, free: 35.34 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.8262, allocations: 188.7 kB / 1.299 GB, free: 35.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.8262, allocations: 77.11 kB / 1.299 GB, free: 35.09 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.8262, allocations: 9.984 kB / 1.299 GB, free: 35.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.481e-05/0.8263, allocations: 8.953 kB / 1.299 GB, free: 35.09 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.8264, allocations: 14.03 kB / 1.299 GB, free: 35.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.8264, allocations: 0 / 1.299 GB, free: 35.08 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.367e-05/0.8264, allocations: 84.97 kB / 1.299 GB, free: 35 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.8264, allocations: 2.781 kB / 1.299 GB, free: 35 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000208/0.8266, allocations: 13.53 kB / 1.299 GB, free: 34.99 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 (intGreThr.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.776e-05/0.8267, allocations: 100.2 kB / 1.299 GB, free: 34.91 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002259/0.8269, allocations: 57.77 kB / 1.299 GB, free: 34.89 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8269, allocations: 2.938 kB / 1.299 GB, free: 34.89 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.168e-05/0.827, allocations: 28.98 kB / 1.299 GB, free: 34.88 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.8273, allocations: 10.56 kB / 1.299 GB, free: 34.88 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002825/0.8276, allocations: 167.3 kB / 1.3 GB, free: 34.73 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.903e-05/0.8277, allocations: 0.6803 MB / 1.3 GB, free: 34.03 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.8277, allocations: 10.06 kB / 1.3 GB, free: 34.02 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.8277, allocations: 0 / 1.3 GB, free: 34.02 MB / 1.061 GB Notification: Performance of Templates: time 0.001884/0.8296, allocations: 0.8225 MB / 1.301 GB, free: 33.98 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches