Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_latest_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_latest_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.001769/0.001769, allocations: 108.6 kB / 16.41 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.001673/0.001673, allocations: 190.6 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.472/1.472, 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 11.0.1-master/package.mo): time 2.688/2.688, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 67.91 kB / 1.055 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104/1.106, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002043/1.108, allocations: 0.7032 MB / 1.209 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001152/1.109, allocations: 0.839 MB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.548e-05/1.109, allocations: 0 / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/1.109, allocations: 15.92 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.313e-05/1.109, allocations: 3.938 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/1.11, allocations: 15.98 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000111/1.11, allocations: 39.91 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/1.11, allocations: 12 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.55e-05/1.11, allocations: 27.91 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.326e-05/1.11, allocations: 27.91 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/1.11, allocations: 11.94 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.353e-05/1.11, allocations: 7.938 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/1.11, allocations: 7.984 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.05e-05/1.11, allocations: 19.86 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/1.11, allocations: 51.8 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.11, allocations: 0 / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.163e-06/1.11, allocations: 0 / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.024e-05/1.11, allocations: 0 / 1.21 GB, free: 11.79 MB / 0.9356 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.0005761/1.111, allocations: 351.2 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/1.111, allocations: 12.03 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/1.111, allocations: 8.844 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/1.111, allocations: 168.4 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/1.111, allocations: 384 / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/1.111, allocations: 4.375 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/1.111, allocations: 69.58 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/1.111, allocations: 0 / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/1.111, allocations: 3.984 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/1.111, allocations: 7.938 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002232/1.112, allocations: 51.95 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/1.112, allocations: 290.6 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/1.112, allocations: 58.53 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/1.112, allocations: 32.86 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/1.112, allocations: 8 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/1.113, allocations: 30.56 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/1.113, allocations: 0 / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0004507/1.113, allocations: 113.7 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/1.113, allocations: 55.34 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/1.113, allocations: 109.8 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/1.113, allocations: 25.7 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/1.113, allocations: 92.05 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/1.113, allocations: 7.844 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/1.113, allocations: 21.7 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000134/1.114, allocations: 322.8 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/1.114, allocations: 27.91 kB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.633e-05/1.114, allocations: 23.98 kB / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/1.114, allocations: 48.81 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.114, allocations: 0 / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000259/1.114, allocations: 89.55 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/1.114, allocations: 4 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/1.114, allocations: 0 / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/1.114, allocations: 4 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/1.114, allocations: 19.92 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/1.114, allocations: 3.938 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.303e-05/1.115, allocations: 7.984 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/1.115, allocations: 0 / 1.212 GB, free: 9.543 MB / 0.9356 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 0.000112/1.115, allocations: 117.8 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/1.115, allocations: 0 / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.384e-05/1.115, allocations: 7.906 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.115, allocations: 3.984 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.115, allocations: 4 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/1.115, allocations: 81.02 kB / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/1.115, allocations: 11.94 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/1.115, allocations: 7.984 kB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.875e-05/1.115, allocations: 11.98 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003403/1.115, allocations: 161 kB / 1.213 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003442/1.116, allocations: 258.7 kB / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001216/1.116, allocations: 31.97 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.687e-05/1.116, allocations: 99.19 kB / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of Backend: time 2.094e-06/1.116, allocations: 0 / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004729/1.116, allocations: 110.6 kB / 1.213 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006667/1.117, allocations: 0.5829 MB / 1.214 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of Templates: time 0.003889/1.121, allocations: 1.014 MB / 1.215 GB, free: 6.949 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches