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) 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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.836/2.836, allocations: 436.5 MB / 0.7104 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004442/0.0004442, allocations: 12 kB / 0.8708 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7903/0.7908, allocations: 153.6 MB / 1.021 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001117/0.7919, allocations: 437.3 kB / 1.021 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.793, allocations: 0.8196 MB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.539e-05/0.793, allocations: 0 / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.097e-05/0.7931, allocations: 0 / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.7932, allocations: 3.938 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.7934, allocations: 23.91 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.839e-05/0.7935, allocations: 23.97 kB / 1.022 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.7936, allocations: 15.98 kB / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.944e-05/0.7937, allocations: 15.92 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.631e-05/0.7937, allocations: 19.92 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.7938, allocations: 0 / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.501e-05/0.7938, allocations: 7.938 kB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.7938, allocations: 11.97 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.295e-05/0.7939, allocations: 33.64 kB / 1.022 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.398e-05/0.7939, allocations: 27.92 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.7939, allocations: 0 / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.384e-06/0.794, allocations: 0 / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.794, allocations: 8 kB / 1.022 GB, free: 15.63 MB / 0.7794 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.0005615/0.7945, allocations: 349.3 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.7946, allocations: 11.98 kB / 1.023 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.7946, allocations: 7.906 kB / 1.023 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.7948, allocations: 171 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.7948, allocations: 0 / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.7949, allocations: 4 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.7951, allocations: 81.53 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.7951, allocations: 0 / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.7951, allocations: 4 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.7951, allocations: 4 kB / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002209/0.7953, allocations: 59.95 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004949/0.7958, allocations: 292.7 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.7961, allocations: 70.48 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.7961, allocations: 0 / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.7961, allocations: 42.66 kB / 1.023 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.7961, allocations: 0 / 1.023 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004274/0.7965, allocations: 121.6 kB / 1.023 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.7966, allocations: 51.41 kB / 1.023 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.7967, allocations: 109.8 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.7967, allocations: 29.7 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.304e-05/0.7968, allocations: 88.05 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.7968, allocations: 7.844 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.7968, allocations: 8 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.797, allocations: 318.8 kB / 1.024 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.7971, allocations: 23.98 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.028e-05/0.7972, allocations: 31.97 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.778e-05/0.7973, allocations: 27.98 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.7973, allocations: 3.953 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002418/0.7975, allocations: 93.97 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.7976, allocations: 8 kB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.7976, allocations: 4 kB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.7976, allocations: 0 / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.7977, allocations: 11.98 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.7977, allocations: 3.938 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.55e-05/0.7978, allocations: 15.89 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.7978, allocations: 7.938 kB / 1.024 GB, free: 13.4 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 (intGreThr.y,reaToInt.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.533e-05/0.7979, allocations: 117.8 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.798, allocations: 7.953 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/0.798, allocations: 7.891 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.798, allocations: 0 / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.798, allocations: 0 / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.798, allocations: 0 / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.7982, allocations: 177.7 kB / 1.024 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.7982, allocations: 3.984 kB / 1.024 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.503e-05/0.7983, allocations: 19.94 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.7983, allocations: 4 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.7983, allocations: 0 / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.7983, allocations: 3.938 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7984, allocations: 0 / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.7987, allocations: 199.3 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.7987, allocations: 77.11 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.7987, allocations: 3.953 kB / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.7988, allocations: 15.98 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.7989, allocations: 11.98 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.7989, allocations: 0 / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.783e-05/0.799, allocations: 95.56 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.799, allocations: 0 / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002081/0.7992, allocations: 8 kB / 1.025 GB, free: 12.56 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 (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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000128/0.7993, allocations: 99.25 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002532/0.7996, allocations: 63.95 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.7996, allocations: 4 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.7997, allocations: 39.91 kB / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.7999, allocations: 1.719 kB / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.8003, allocations: 136.6 kB / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.8006, allocations: 0.6965 MB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.229e-05/0.8006, allocations: 4 kB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.8007, allocations: 7.438 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.8007, allocations: 0 / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of Templates: time 0.002976/0.8037, allocations: 0.745 MB / 1.027 GB, free: 10.71 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches