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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.002155/0.002155, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.002051/0.002051, allocations: 190.7 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.58/1.58, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.806/2.806, allocations: 469.4 MB / 0.7428 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 59.91 kB / 1.066 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.114/1.115, allocations: 159.1 MB / 1.221 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.003331/1.119, allocations: 0.8236 MB / 1.222 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001406/1.12, allocations: 0.8741 MB / 1.223 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/1.12, allocations: 7.938 kB / 1.223 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001558/1.12, allocations: 11.86 kB / 1.223 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.466e-05/1.121, allocations: 11.88 kB / 1.223 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000209/1.121, allocations: 23.97 kB / 1.223 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001604/1.121, allocations: 79.72 kB / 1.223 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/1.121, allocations: 27.97 kB / 1.223 GB, free: 460 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/1.121, allocations: 27.92 kB / 1.223 GB, free: 432 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.807e-05/1.121, allocations: 31.84 kB / 1.223 GB, free: 400 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/1.121, allocations: 8 kB / 1.223 GB, free: 392 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.811e-05/1.121, allocations: 8 kB / 1.223 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.704e-05/1.121, allocations: 15.88 kB / 1.223 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.183e-05/1.121, allocations: 35.78 kB / 1.223 GB, free: 332 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001516/1.122, allocations: 75.69 kB / 1.223 GB, free: 256 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.122, allocations: 0 / 1.223 GB, free: 256 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/1.122, allocations: 3.938 kB / 1.223 GB, free: 252 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.433e-05/1.122, allocations: 4 kB / 1.223 GB, free: 248 kB / 0.9356 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.0006527/1.122, allocations: 388.8 kB / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/1.122, allocations: 12.02 kB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.591e-05/1.122, allocations: 8.844 kB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/1.123, allocations: 201.8 kB / 1.224 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/1.123, allocations: 4.375 kB / 1.224 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/1.123, allocations: 384 / 1.224 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/1.123, allocations: 70.17 kB / 1.224 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/1.123, allocations: 192 / 1.224 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/1.123, allocations: 7.938 kB / 1.224 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/1.123, allocations: 0 / 1.224 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/1.123, allocations: 35.97 kB / 1.224 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006094/1.124, allocations: 316.6 kB / 1.224 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/1.124, allocations: 54.55 kB / 1.224 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/1.124, allocations: 12.92 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/1.124, allocations: 4.031 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/1.124, allocations: 38.64 kB / 1.224 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/1.124, allocations: 0 / 1.224 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002744/1.124, allocations: 69.58 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/1.124, allocations: 51.41 kB / 1.224 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/1.125, allocations: 140.2 kB / 1.224 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/1.125, allocations: 25.7 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/1.125, allocations: 100 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/1.125, allocations: 11.98 kB / 1.224 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/1.125, allocations: 13.72 kB / 1.224 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.125, allocations: 322.8 kB / 1.225 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.47e-05/1.125, allocations: 15.98 kB / 1.225 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.282e-05/1.125, allocations: 19.94 kB / 1.225 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.124e-05/1.125, allocations: 28.84 kB / 1.225 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.125, allocations: 4 kB / 1.225 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001539/1.125, allocations: 65.58 kB / 1.225 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/1.125, allocations: 4 kB / 1.225 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.125, allocations: 4 kB / 1.225 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/1.125, allocations: 3.938 kB / 1.225 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.626e-05/1.125, allocations: 7.984 kB / 1.225 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/1.125, allocations: 3.938 kB / 1.225 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.913e-05/1.125, allocations: 16.25 kB / 1.225 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/1.125, allocations: 4 kB / 1.225 GB, free: 14 MB / 0.9512 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 9.753e-05/1.126, allocations: 122.2 kB / 1.225 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/1.126, allocations: 3.906 kB / 1.225 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.599e-05/1.126, allocations: 16.23 kB / 1.225 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/1.126, allocations: 0 / 1.225 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.126, allocations: 0 / 1.225 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/1.126, allocations: 89 kB / 1.225 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/1.126, allocations: 11.94 kB / 1.225 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/1.126, allocations: 7.984 kB / 1.225 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/1.126, allocations: 8 kB / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002218/1.126, allocations: 140.9 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002348/1.126, allocations: 238.7 kB / 1.226 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.461e-05/1.126, allocations: 19.98 kB / 1.226 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.752e-05/1.127, allocations: 99.2 kB / 1.226 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of Backend: time 2.81e-07/1.127, allocations: 0 / 1.226 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004712/1.127, allocations: 107.9 kB / 1.226 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006609/1.128, allocations: 0.6206 MB / 1.226 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of Templates: time 0.003729/1.131, allocations: 0.9388 MB / 1.227 GB, free: 11.49 MB / 0.9512 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches