Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_9_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_9_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.001217/0.001217, allocations: 112.6 kB / 16.42 MB, free: 6.492 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.001232/0.001233, allocations: 190.5 kB / 17.35 MB, free: 5.762 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.397/1.397, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.261/2.261, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002385/0.002385, allocations: 75.88 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9969/0.9993, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.00213/1.002, allocations: 0.71 MB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00106/1.003, allocations: 0.8394 MB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.431e-05/1.003, allocations: 1.125 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/1.003, allocations: 4.594 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.195e-05/1.003, allocations: 5.703 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/1.003, allocations: 26.8 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/1.003, allocations: 48.06 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/1.003, allocations: 16.45 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.476e-05/1.003, allocations: 18.64 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.386e-05/1.003, allocations: 28.64 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/1.003, allocations: 5 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/1.003, allocations: 4.406 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/1.003, allocations: 11.58 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/1.003, allocations: 13.92 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/1.004, allocations: 51.06 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.004, allocations: 1.125 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.703e-06/1.004, allocations: 0 / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.691e-06/1.004, allocations: 4 kB / 1.09 GB, free: 4.32 MB / 0.8575 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.0004702/1.004, allocations: 355.2 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/1.004, allocations: 10.58 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/1.004, allocations: 6.25 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/1.004, allocations: 169.1 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/1.004, allocations: 2.969 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/1.004, allocations: 6.438 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/1.004, allocations: 72.23 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/1.005, allocations: 0 / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/1.005, allocations: 4.75 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/1.005, allocations: 0.9688 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002155/1.005, allocations: 48.58 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/1.005, allocations: 299.3 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/1.005, allocations: 70.33 kB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/1.006, allocations: 28.47 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/1.006, allocations: 0.7969 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/1.006, allocations: 31.69 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/1.006, allocations: 0 / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004473/1.006, allocations: 114.5 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/1.006, allocations: 51.41 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.053e-05/1.006, allocations: 107.3 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/1.006, allocations: 26.92 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/1.006, allocations: 90.89 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/1.006, allocations: 9.031 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/1.006, allocations: 20.5 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.442e-05/1.006, allocations: 326.1 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/1.006, allocations: 22.62 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.641e-05/1.007, allocations: 23.16 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/1.007, allocations: 53.41 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.007, allocations: 3.938 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002604/1.007, allocations: 87.67 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/1.007, allocations: 5.719 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.007, allocations: 5.25 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/1.007, allocations: 0 / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/1.007, allocations: 12.47 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/1.007, allocations: 0 / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.047e-05/1.007, allocations: 12.64 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/1.007, allocations: 1.375 kB / 1.092 GB, free: 2.527 MB / 0.8575 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 (reaToInt.y,intGreThr.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 6.406e-05/1.007, allocations: 121 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/1.007, allocations: 2.422 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/1.007, allocations: 5.672 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.007, allocations: 1.453 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/1.007, allocations: 0 / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.616e-05/1.008, allocations: 83.47 kB / 1.093 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/1.008, allocations: 5.484 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/1.008, allocations: 8 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/1.008, allocations: 15.25 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003246/1.008, allocations: 171.2 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002975/1.008, allocations: 264.9 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001264/1.008, allocations: 31.56 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.108e-05/1.009, allocations: 95.52 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of Backend: time 4.21e-07/1.009, allocations: 0 / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004826/1.009, allocations: 112.5 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004894/1.01, allocations: 0.5673 MB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of Templates: time 0.004242/1.014, allocations: 0.9813 MB / 1.095 GB, free: 1.098 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches