Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001625/0.001625, allocations: 121.6 kB / 16.82 MB, free: 5.754 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.001703/0.001703, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.538/1.538, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.853/2.853, allocations: 476.7 MB / 0.7556 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 69.45 kB / 1.097 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3679, allocations: 168.7 MB / 1.262 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002221/0.3702, allocations: 0.822 MB / 1.263 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.3713, allocations: 0.8779 MB / 1.264 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.627e-05/0.3714, allocations: 0 / 1.264 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.3716, allocations: 11.81 kB / 1.264 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.294e-05/0.3716, allocations: 11.94 kB / 1.264 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.3718, allocations: 31.84 kB / 1.264 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.372, allocations: 79.75 kB / 1.264 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.3721, allocations: 16 kB / 1.264 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.333e-05/0.3722, allocations: 39.8 kB / 1.264 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.038e-05/0.3723, allocations: 31.83 kB / 1.264 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.3723, allocations: 4 kB / 1.264 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.762e-05/0.3723, allocations: 8 kB / 1.264 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.942e-05/0.3723, allocations: 15.92 kB / 1.264 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.59e-05/0.3724, allocations: 23.88 kB / 1.264 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.3725, allocations: 79.61 kB / 1.264 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3725, allocations: 0 / 1.264 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3725, allocations: 0 / 1.264 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.3725, allocations: 0 / 1.264 GB, free: 10.84 MB / 0.9825 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.0006406/0.3732, allocations: 407 kB / 1.265 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.3732, allocations: 8.625 kB / 1.265 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.3732, allocations: 12.89 kB / 1.265 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.3736, allocations: 196.2 kB / 1.265 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.3736, allocations: 4.375 kB / 1.265 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.3736, allocations: 4.375 kB / 1.265 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.3738, allocations: 66.22 kB / 1.265 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3738, allocations: 4.188 kB / 1.265 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.3738, allocations: 7.938 kB / 1.265 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3738, allocations: 3.938 kB / 1.265 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.3739, allocations: 31.98 kB / 1.265 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005257/0.3744, allocations: 320.8 kB / 1.265 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.3746, allocations: 50.5 kB / 1.265 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.724e-05/0.3747, allocations: 21 kB / 1.265 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.3747, allocations: 0 / 1.265 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.3747, allocations: 34.56 kB / 1.265 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.3747, allocations: 0 / 1.265 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002644/0.375, allocations: 73.75 kB / 1.265 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.375, allocations: 55.34 kB / 1.265 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.3751, allocations: 139.3 kB / 1.265 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.3752, allocations: 25.7 kB / 1.266 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.265e-05/0.3752, allocations: 100.1 kB / 1.266 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.3753, allocations: 11.89 kB / 1.266 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.3753, allocations: 17.7 kB / 1.266 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3755, allocations: 322.8 kB / 1.266 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.688e-05/0.3755, allocations: 19.98 kB / 1.266 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.667e-05/0.3756, allocations: 20.02 kB / 1.266 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.605e-05/0.3757, allocations: 28.84 kB / 1.266 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3757, allocations: 0 / 1.266 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001415/0.3758, allocations: 69.58 kB / 1.266 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3758, allocations: 4 kB / 1.266 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.3758, allocations: 0 / 1.266 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3758, allocations: 0 / 1.266 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.3759, allocations: 11.98 kB / 1.266 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3759, allocations: 0 / 1.266 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.768e-05/0.376, allocations: 11.98 kB / 1.266 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.376, allocations: 0 / 1.266 GB, free: 8.57 MB / 0.9825 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.0001039/0.3761, allocations: 117.8 kB / 1.266 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.3761, allocations: 7.953 kB / 1.266 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.3762, allocations: 12.23 kB / 1.266 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3762, allocations: 0 / 1.266 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3762, allocations: 8 kB / 1.266 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/0.3762, allocations: 81.06 kB / 1.266 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.3762, allocations: 3.938 kB / 1.266 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3764, allocations: 11.98 kB / 1.266 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.3764, allocations: 11.98 kB / 1.266 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002311/0.3766, allocations: 144.9 kB / 1.266 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002226/0.3769, allocations: 234.8 kB / 1.267 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.868e-05/0.3769, allocations: 15.98 kB / 1.267 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.741e-05/0.377, allocations: 108.9 kB / 1.267 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of Backend: time 2.8e-07/0.377, allocations: 0 / 1.267 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004301/0.3774, allocations: 100.5 kB / 1.267 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0005829/0.378, allocations: 0.6337 MB / 1.268 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of Templates: time 0.003621/0.3816, allocations: 0.9533 MB / 1.268 GB, free: 6.043 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches