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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001213, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 182.4 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.788/2.788, allocations: 462.6 MB / 0.7371 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003579, allocations: 12.75 kB / 0.9034 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3197, allocations: 159.6 MB / 1.059 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001057/0.3208, allocations: 439.5 kB / 1.06 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.322, allocations: 0.8351 MB / 1.061 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.322, allocations: 0 / 1.061 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.209e-05/0.3221, allocations: 7.984 kB / 1.061 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.982e-05/0.3222, allocations: 7.938 kB / 1.061 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.3223, allocations: 19.98 kB / 1.061 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.155e-05/0.3224, allocations: 43.84 kB / 1.061 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.3226, allocations: 15.98 kB / 1.061 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.524e-05/0.3226, allocations: 15.92 kB / 1.061 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.3227, allocations: 19.92 kB / 1.061 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.3228, allocations: 4 kB / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.3228, allocations: 4 kB / 1.061 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.3228, allocations: 3.984 kB / 1.061 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.103e-05/0.3228, allocations: 45.56 kB / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.577e-05/0.3229, allocations: 31.92 kB / 1.061 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3229, allocations: 0 / 1.061 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.463e-06/0.323, allocations: 0 / 1.061 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.323, allocations: 0 / 1.061 GB, free: 3.43 MB / 0.8106 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.000557/0.3235, allocations: 359.6 kB / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.3236, allocations: 11.97 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.3236, allocations: 4.938 kB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.3238, allocations: 172.3 kB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.3238, allocations: 4.312 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.3238, allocations: 8.375 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.3241, allocations: 77.77 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3241, allocations: 7.984 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.3241, allocations: 4 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3241, allocations: 3.938 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002262/0.3244, allocations: 55.95 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.3248, allocations: 296.8 kB / 1.062 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.325, allocations: 66.48 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.3252, allocations: 40.91 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.3252, allocations: 0 / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.3252, allocations: 34.56 kB / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.3252, allocations: 0 / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004571/0.3257, allocations: 129.5 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.3257, allocations: 55.34 kB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.757e-05/0.3258, allocations: 109.8 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.3259, allocations: 25.7 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.3259, allocations: 88.12 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.3259, allocations: 11.81 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.326, allocations: 17.72 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3261, allocations: 318.8 kB / 1.063 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.3262, allocations: 27.97 kB / 1.063 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.3263, allocations: 31.97 kB / 1.063 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.3265, allocations: 60.83 kB / 1.063 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3265, allocations: 0 / 1.063 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002582/0.3268, allocations: 101.6 kB / 1.063 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3268, allocations: 4 kB / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3268, allocations: 0 / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3268, allocations: 0 / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.327, allocations: 15.98 kB / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.327, allocations: 0 / 1.063 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.829e-05/0.3271, allocations: 11.98 kB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.3271, allocations: 4 kB / 1.063 GB, free: 1.09 MB / 0.8106 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 8.227e-05/0.3272, allocations: 117.8 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.3272, allocations: 7.891 kB / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/0.3272, allocations: 7.906 kB / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3273, allocations: 0 / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.3273, allocations: 0 / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.3273, allocations: 336 / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.3275, allocations: 189.6 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3275, allocations: 0 / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.075e-05/0.3276, allocations: 15.98 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3276, allocations: 0 / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.3276, allocations: 0 / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3276, allocations: 7.938 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3276, allocations: 3.984 kB / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.3279, allocations: 191.4 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.328, allocations: 92.89 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.328, allocations: 0 / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.3281, allocations: 11.98 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.3282, allocations: 7.984 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.3282, allocations: 4 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.08e-05/0.3282, allocations: 95.56 kB / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3283, allocations: 0 / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002191/0.3285, allocations: 8 kB / 1.064 GB, free: 252 kB / 0.8106 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 0.0001442/0.3286, allocations: 103.2 kB / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002684/0.3289, allocations: 71.89 kB / 1.064 GB, free: 68 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3289, allocations: 0 / 1.064 GB, free: 68 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.329, allocations: 31.97 kB / 1.064 GB, free: 36 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.3293, allocations: 8 kB / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.3297, allocations: 166.4 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.33, allocations: 0.6809 MB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.33, allocations: 11.44 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of SimCode: time 5.01e-07/0.33, allocations: 0 / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of Templates: time 0.002573/0.3326, allocations: 0.8127 MB / 1.065 GB, free: 14.3 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches