Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_10_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_10_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.00126/0.00126, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00184/0.001841, allocations: 193.3 kB / 16.14 MB, free: 6.652 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.48/1.48, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.718/2.718, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 0.8686 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7515/0.7527, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002354/0.7551, allocations: 0.8872 MB / 1.017 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.7563, allocations: 0.8663 MB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.899e-05/0.7564, allocations: 0 / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.7566, allocations: 11.88 kB / 1.018 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.706e-05/0.7567, allocations: 15.86 kB / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.7568, allocations: 19.98 kB / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.7569, allocations: 67.78 kB / 1.018 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.7571, allocations: 35.97 kB / 1.018 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.678e-05/0.7572, allocations: 31.84 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.504e-05/0.7573, allocations: 27.84 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.7573, allocations: 4 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.7573, allocations: 0 / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.7573, allocations: 15.94 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.7574, allocations: 27.8 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.7575, allocations: 69.72 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.7575, allocations: 3.984 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7575, allocations: 3.938 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.7575, allocations: 0 / 1.019 GB, free: 0.6914 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005426/0.7581, allocations: 391.1 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.7581, allocations: 8.031 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.7582, allocations: 16.84 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.7584, allocations: 198.5 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.7585, allocations: 8.453 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.7585, allocations: 4.375 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.7587, allocations: 66.17 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.7587, allocations: 192 / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.7587, allocations: 7.938 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.7587, allocations: 0 / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.7588, allocations: 31.98 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000585/0.7594, allocations: 324.6 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.7596, allocations: 46.56 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.2e-05/0.7597, allocations: 25 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.7597, allocations: 3.938 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.7597, allocations: 30.56 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.7597, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002726/0.76, allocations: 77.59 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.7601, allocations: 55.41 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.7602, allocations: 133.8 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.7602, allocations: 33.69 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.7603, allocations: 96.05 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.7603, allocations: 7.906 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.7603, allocations: 21.7 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.7605, allocations: 318.8 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-05/0.7606, allocations: 15.98 kB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.354e-05/0.7606, allocations: 15.98 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.48e-05/0.7607, allocations: 32.84 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7607, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001361/0.7609, allocations: 65.53 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.7609, allocations: 11.98 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.7609, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.7609, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.155e-05/0.761, allocations: 4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.761, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.676e-05/0.7611, allocations: 15.92 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.7611, allocations: 4 kB / 1.021 GB, free: 14.43 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 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.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 0.0001109/0.7612, allocations: 118.3 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.7613, allocations: 3.906 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.7613, allocations: 16.23 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.7613, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.7613, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.7613, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.7615, allocations: 185.6 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7615, allocations: 4 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.7616, allocations: 3.938 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.7616, allocations: 4 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.7616, allocations: 7.922 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.7616, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.7616, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.7618, allocations: 163.4 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.7619, allocations: 81.11 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.7619, allocations: 8 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.762, allocations: 7.984 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.762, allocations: 7.984 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.7621, allocations: 0 / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001396/0.7622, allocations: 112.9 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7622, allocations: 0 / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002219/0.7624, allocations: 15.84 kB / 1.021 GB, free: 13.61 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 (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.0001385/0.7626, allocations: 111.6 kB / 1.021 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.7627, allocations: 35.92 kB / 1.021 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.7627, allocations: 0 / 1.021 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.397e-05/0.7628, allocations: 20.06 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.0003042/0.7631, allocations: 8 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.0003515/0.7635, allocations: 185.8 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.7638, allocations: 0.6943 MB / 1.022 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.094e-05/0.7638, allocations: 3.984 kB / 1.022 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.7638, allocations: 15.44 kB / 1.022 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.7639, allocations: 3.938 kB / 1.022 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of Templates: time 0.002969/0.7668, allocations: 0.7204 MB / 1.023 GB, free: 11.77 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches