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.001564/0.001564, allocations: 112.8 kB / 16.42 MB, free: 6.441 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.001588/0.001588, allocations: 192 kB / 17.35 MB, free: 5.738 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.649/2.649, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.91 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9745/0.9759, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001849/0.9778, allocations: 0.825 MB / 1.168 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009484/0.9787, allocations: 0.8764 MB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.369e-05/0.9788, allocations: 4 kB / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.979, allocations: 19.8 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.856e-05/0.979, allocations: 11.88 kB / 1.169 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.9792, allocations: 27.97 kB / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.9793, allocations: 71.78 kB / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.9794, allocations: 31.97 kB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.093e-05/0.9795, allocations: 35.8 kB / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.395e-05/0.9796, allocations: 31.84 kB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.9796, allocations: 4 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.491e-05/0.9796, allocations: 4 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.66e-05/0.9797, allocations: 19.92 kB / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.881e-05/0.9797, allocations: 27.8 kB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.9798, allocations: 83.67 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.9799, allocations: 4 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9799, allocations: 0 / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.9799, allocations: 0 / 1.169 GB, free: 1.766 MB / 0.8887 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.0005262/0.9804, allocations: 380.8 kB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.9805, allocations: 16.02 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.9805, allocations: 8.844 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.9807, allocations: 204.1 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-06/0.9807, allocations: 384 / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.9808, allocations: 8.375 kB / 1.17 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.9809, allocations: 66.11 kB / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.9809, allocations: 4.125 kB / 1.17 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.981, allocations: 3.938 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.981, allocations: 4 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.9811, allocations: 35.97 kB / 1.17 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.9815, allocations: 316.7 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.9817, allocations: 46.55 kB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.142e-05/0.9818, allocations: 16.92 kB / 1.17 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.9818, allocations: 3.984 kB / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.9818, allocations: 42.64 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.9818, allocations: 0 / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0002501/0.9821, allocations: 73.8 kB / 1.171 GB, free: 404 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.9821, allocations: 51.41 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.9822, allocations: 140.2 kB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.9822, allocations: 25.7 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.9823, allocations: 96.12 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.9823, allocations: 11.91 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.9824, allocations: 13.72 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.9825, allocations: 326.8 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.005e-05/0.9826, allocations: 15.98 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.34e-05/0.9826, allocations: 15.98 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.493e-05/0.9827, allocations: 28.84 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.9827, allocations: 3.938 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001378/0.9829, allocations: 73.58 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.9829, allocations: 4 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.9829, allocations: 0 / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.9829, allocations: 0 / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.555e-05/0.983, allocations: 7.984 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.983, allocations: 0 / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.14e-05/0.9831, allocations: 19.92 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.9831, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 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 8.288e-05/0.9832, allocations: 121.8 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.9832, allocations: 7.906 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.9832, allocations: 8.25 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.9833, allocations: 4 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.9833, allocations: 0 / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.9833, allocations: 88.94 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.9833, allocations: 3.938 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.9834, allocations: 11.98 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.9835, allocations: 11.94 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002041/0.9837, allocations: 140.9 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001873/0.9839, allocations: 234.7 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.777e-05/0.984, allocations: 23.86 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.189e-05/0.984, allocations: 105.7 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of Backend: time 2.31e-07/0.984, allocations: 0 / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003853/0.9844, allocations: 110.4 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004947/0.9849, allocations: 0.6089 MB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of Templates: time 0.003326/0.9883, allocations: 0.9397 MB / 1.174 GB, free: 13.02 MB / 0.9044 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/jenkins1/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