Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 98.38 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.001307/0.001307, allocations: 177.3 kB / 15.94 MB, free: 228 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.449/1.449, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.65/2.65, allocations: 436.5 MB / 0.7104 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003806, allocations: 12 kB / 0.8708 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7902/0.7906, allocations: 153.7 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001309/0.792, allocations: 0.5136 MB / 1.021 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.7931, allocations: 0.8702 MB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.868e-05/0.7932, allocations: 4 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.165e-05/0.7932, allocations: 3.938 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.7934, allocations: 15.95 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.7935, allocations: 19.92 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.7937, allocations: 51.88 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.7939, allocations: 23.97 kB / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.839e-05/0.794, allocations: 31.91 kB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.933e-05/0.7941, allocations: 15.86 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.7941, allocations: 4 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.226e-05/0.7941, allocations: 0 / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.7941, allocations: 11.94 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.377e-05/0.7942, allocations: 33.7 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.743e-05/0.7943, allocations: 55.84 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.7943, allocations: 0 / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.786e-06/0.7943, allocations: 3.938 kB / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.7943, allocations: 4 kB / 1.022 GB, free: 15.44 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005932/0.7949, allocations: 385 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.7949, allocations: 11.98 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.795, allocations: 7.906 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.7953, allocations: 194.9 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.7953, allocations: 7.938 kB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.7953, allocations: 8 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.7955, allocations: 69.55 kB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.7956, allocations: 3.938 kB / 1.023 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.7956, allocations: 0 / 1.023 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.7956, allocations: 4 kB / 1.023 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.7957, allocations: 31.98 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005851/0.7963, allocations: 336.6 kB / 1.023 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.7965, allocations: 54.56 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.7965, allocations: 0 / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.7966, allocations: 30.56 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.7966, allocations: 0 / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003146/0.7969, allocations: 89.97 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.7969, allocations: 51.41 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.7971, allocations: 139.6 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.7971, allocations: 25.7 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.389e-05/0.7972, allocations: 92.14 kB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.7972, allocations: 11.89 kB / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.7972, allocations: 0 / 1.024 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.7974, allocations: 322.8 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.005e-05/0.7975, allocations: 19.98 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.292e-05/0.7975, allocations: 19.98 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.387e-05/0.7976, allocations: 8 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.7976, allocations: 0 / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001489/0.7977, allocations: 77.52 kB / 1.024 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.7978, allocations: 12 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.7978, allocations: 0 / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.7978, allocations: 0 / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.053e-05/0.7979, allocations: 4 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.7979, allocations: 0 / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.465e-05/0.798, allocations: 15.98 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.798, allocations: 0 / 1.024 GB, free: 13.23 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: 3 (gre.y,$PRE.greHys.greHys.y,greHys.greHys.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 9.934e-05/0.7981, allocations: 125.8 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.7981, allocations: 7.906 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.7982, allocations: 8.25 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.7982, allocations: 0 / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7982, allocations: 3.938 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.7982, allocations: 4 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.7984, allocations: 185.5 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.7984, allocations: 0 / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.106e-05/0.7984, allocations: 7.984 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.7984, allocations: 4 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.7985, allocations: 4 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.7985, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.7985, allocations: 3.938 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.7986, allocations: 163.4 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/0.7987, allocations: 88.97 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.7987, allocations: 0 / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.7988, allocations: 19.98 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.7989, allocations: 3.984 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.7989, allocations: 11.98 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.545e-05/0.799, allocations: 96.52 kB / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.799, allocations: 0 / 1.025 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002113/0.7992, allocations: 12 kB / 1.025 GB, free: 12.4 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001457/0.7994, allocations: 103.2 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000157/0.7995, allocations: 43.91 kB / 1.025 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7995, allocations: 0 / 1.025 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.49e-05/0.7996, allocations: 16.33 kB / 1.025 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.7998, allocations: 11.98 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.8002, allocations: 176.6 kB / 1.025 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.8005, allocations: 0.6945 MB / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.902e-05/0.8006, allocations: 16.25 kB / 1.026 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.8006, allocations: 11.38 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of SimCode: time 5.11e-07/0.8006, allocations: 0 / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of Templates: time 0.003153/0.8038, allocations: 0.6984 MB / 1.027 GB, free: 10.58 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches