Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001507/0.001515, allocations: 108 kB / 15.61 MB, free: 152 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.001307/0.001307, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.466/1.466, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.697/2.697, allocations: 437 MB / 0.7103 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 71.88 kB / 0.8692 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8856/0.8869, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002511/0.8895, allocations: 0.715 MB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.8906, allocations: 0.8312 MB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.8907, allocations: 3.938 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.901e-05/0.8907, allocations: 3.938 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.542e-05/0.8908, allocations: 7.938 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.891, allocations: 31.91 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.667e-05/0.8911, allocations: 47.84 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.8912, allocations: 15.98 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.932e-05/0.8913, allocations: 12 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.733e-05/0.8914, allocations: 31.83 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.8914, allocations: 4 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.673e-05/0.8915, allocations: 4 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.045e-05/0.8915, allocations: 15.98 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.121e-05/0.8915, allocations: 19.88 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.8916, allocations: 43.84 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.8917, allocations: 0 / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8917, allocations: 0 / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.8917, allocations: 0 / 1.019 GB, free: 0.7148 MB / 0.7637 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.0005866/0.8923, allocations: 365.3 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.8923, allocations: 8.031 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.8924, allocations: 4.938 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.8925, allocations: 168.3 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.8925, allocations: 8.312 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.8926, allocations: 384 / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.8928, allocations: 77.77 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.8928, allocations: 0 / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.8928, allocations: 0 / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.8928, allocations: 0 / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.893, allocations: 47.95 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.8935, allocations: 292.8 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.8937, allocations: 66.47 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.8938, allocations: 24.92 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.8938, allocations: 8 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.8938, allocations: 42.55 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.8939, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.000411/0.8943, allocations: 113.6 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.8943, allocations: 51.41 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.367e-05/0.8944, allocations: 117.8 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.8944, allocations: 25.7 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.8945, allocations: 84.14 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.8945, allocations: 15.75 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.8946, allocations: 17.7 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.8947, allocations: 318.8 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.8948, allocations: 27.97 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.777e-05/0.8949, allocations: 27.92 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.8951, allocations: 52.81 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.8951, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002252/0.8953, allocations: 85.58 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.8953, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.8953, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.8954, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.8955, allocations: 11.98 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.8955, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.848e-05/0.8956, allocations: 7.984 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.8956, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 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.891e-05/0.8957, allocations: 117.8 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.8957, allocations: 3.906 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.8957, allocations: 11.89 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.8957, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.8958, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.8958, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.8959, allocations: 169.6 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.8959, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.093e-05/0.896, allocations: 11.98 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.896, allocations: 7.984 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.8961, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.8961, allocations: 3.938 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.8961, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.8963, allocations: 183.4 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.8964, allocations: 81.02 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.8964, allocations: 7.938 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.984e-05/0.8965, allocations: 11.98 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.8966, allocations: 11.98 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.8966, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.331e-05/0.8967, allocations: 83.59 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8967, allocations: 4 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002108/0.8969, allocations: 8 kB / 1.022 GB, free: 13.64 MB / 0.7794 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.0001191/0.897, allocations: 107.2 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002589/0.8973, allocations: 56.08 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8973, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.8974, allocations: 31.97 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.8977, allocations: 10.47 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/0.898, allocations: 133.5 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.8983, allocations: 0.6884 MB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.367e-05/0.8984, allocations: 11.94 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.8984, allocations: 15.42 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.8984, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of Templates: time 0.003307/0.9017, allocations: 0.8736 MB / 1.024 GB, free: 11.66 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches