Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 110.6 kB / 16.42 MB, free: 6.508 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.001284/0.001284, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.17 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.287/2.287, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 68.08 kB / 0.9516 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9069/0.9085, allocations: 140.4 MB / 1.089 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001651/0.9102, allocations: 0.7035 MB / 1.089 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007657/0.911, allocations: 0.8387 MB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.899e-05/0.911, allocations: 3.938 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.911, allocations: 5.594 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.622e-05/0.9111, allocations: 4.641 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.9113, allocations: 23.06 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.902e-05/0.9113, allocations: 40.67 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.934e-05/0.9115, allocations: 20.98 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.502e-05/0.9115, allocations: 22.81 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.9116, allocations: 25.36 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.9116, allocations: 3.188 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.9116, allocations: 5.281 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.141e-05/0.9117, allocations: 11.31 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.9117, allocations: 14.23 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.23e-05/0.9118, allocations: 54.5 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.9118, allocations: 4.562 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9118, allocations: 1.062 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.9118, allocations: 0 / 1.09 GB, free: 4.281 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.0004145/0.9122, allocations: 349.9 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.9123, allocations: 8.406 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.9123, allocations: 8.297 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.367e-05/0.9124, allocations: 168.6 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.9124, allocations: 1.438 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.9124, allocations: 2.594 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.9126, allocations: 77.53 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.9127, allocations: 0 / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.9127, allocations: 0 / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.9127, allocations: 6.062 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002174/0.9129, allocations: 54.94 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.9133, allocations: 290.3 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.9135, allocations: 65.2 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.9136, allocations: 29.38 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.9136, allocations: 4.531 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.9136, allocations: 32.89 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.9136, allocations: 0 / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004203/0.9141, allocations: 108.8 kB / 1.092 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.363e-05/0.9141, allocations: 52.66 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.791e-05/0.9142, allocations: 107.4 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.9142, allocations: 25.7 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.697e-05/0.9142, allocations: 91.7 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.9142, allocations: 14.64 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.9143, allocations: 23.19 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.816e-05/0.9143, allocations: 321.2 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.9144, allocations: 23.12 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.646e-05/0.9145, allocations: 27.02 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.9147, allocations: 49.33 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.9147, allocations: 1.469 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002387/0.915, allocations: 95.33 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.915, allocations: 4.594 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.915, allocations: 1.406 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.915, allocations: 0.5156 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.9151, allocations: 11.67 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.9152, allocations: 1.031 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.554e-05/0.9153, allocations: 11.33 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.9153, allocations: 1.984 kB / 1.092 GB, free: 2.492 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,intLesEquThr.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 5.207e-05/0.9153, allocations: 124.7 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.9154, allocations: 1.938 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.9154, allocations: 6.609 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.9154, allocations: 0.6562 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9154, allocations: 0 / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.799e-05/0.9154, allocations: 79.72 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.9155, allocations: 8.688 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.9156, allocations: 7.172 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.9156, allocations: 16.56 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003051/0.9159, allocations: 165.9 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00027/0.9162, allocations: 264.2 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001148/0.9163, allocations: 31.91 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.934e-05/0.9164, allocations: 99.91 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of Backend: time 4.41e-07/0.9164, allocations: 0 / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004152/0.9168, allocations: 105.3 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003505/0.9172, allocations: 0.5702 MB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of Templates: time 0.003255/0.9204, allocations: 0.9769 MB / 1.095 GB, free: 1.066 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches