Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 116.4 kB / 16.42 MB, free: 6.496 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.001521/0.001521, allocations: 183.9 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.471/1.471, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.811/2.811, allocations: 469.4 MB / 0.7428 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001707, allocations: 67.89 kB / 1.066 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106/1.108, allocations: 159.1 MB / 1.221 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002829/1.111, allocations: 0.7737 MB / 1.222 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00149/1.112, allocations: 0.8662 MB / 1.223 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.672e-05/1.112, allocations: 0 / 1.223 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.466e-05/1.113, allocations: 7.938 kB / 1.223 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/1.113, allocations: 19.8 kB / 1.223 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/1.113, allocations: 35.95 kB / 1.223 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001462/1.113, allocations: 83.81 kB / 1.223 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/1.113, allocations: 24 kB / 1.223 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/1.113, allocations: 43.83 kB / 1.223 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.38e-05/1.113, allocations: 43.83 kB / 1.223 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.905e-05/1.113, allocations: 8 kB / 1.223 GB, free: 464 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.814e-05/1.113, allocations: 8 kB / 1.223 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.71e-05/1.113, allocations: 23.91 kB / 1.223 GB, free: 432 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.15e-05/1.114, allocations: 35.84 kB / 1.223 GB, free: 396 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/1.114, allocations: 87.61 kB / 1.223 GB, free: 308 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.114, allocations: 0 / 1.223 GB, free: 308 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.843e-06/1.114, allocations: 3.938 kB / 1.223 GB, free: 304 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.332e-06/1.114, allocations: 4 kB / 1.223 GB, free: 300 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007326/1.114, allocations: 396.9 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/1.115, allocations: 8.625 kB / 1.223 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.691e-05/1.115, allocations: 8.844 kB / 1.223 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/1.115, allocations: 176.2 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/1.115, allocations: 4.375 kB / 1.223 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/1.115, allocations: 8.375 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003577/1.115, allocations: 117.5 kB / 1.224 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/1.115, allocations: 0 / 1.224 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/1.115, allocations: 0 / 1.224 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/1.115, allocations: 0 / 1.224 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003863/1.116, allocations: 99.89 kB / 1.224 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006627/1.116, allocations: 348.5 kB / 1.224 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006808/1.117, allocations: 118.6 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/1.117, allocations: 64.75 kB / 1.224 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/1.117, allocations: 3.984 kB / 1.224 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/1.117, allocations: 30.56 kB / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/1.117, allocations: 0 / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0006762/1.118, allocations: 185.5 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/1.118, allocations: 51.41 kB / 1.224 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/1.118, allocations: 121.8 kB / 1.225 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/1.118, allocations: 29.7 kB / 1.225 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/1.118, allocations: 96 kB / 1.225 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/1.118, allocations: 27.64 kB / 1.225 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/1.118, allocations: 21.7 kB / 1.225 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.118, allocations: 322.8 kB / 1.225 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/1.119, allocations: 47.95 kB / 1.225 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/1.119, allocations: 43.95 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/1.119, allocations: 96.77 kB / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.119, allocations: 4 kB / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004342/1.12, allocations: 133.5 kB / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/1.12, allocations: 4 kB / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.12, allocations: 3.984 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/1.12, allocations: 4 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/1.12, allocations: 27.97 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/1.12, allocations: 0 / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/1.12, allocations: 23.83 kB / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/1.12, allocations: 0 / 1.225 GB, free: 13.5 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 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001063/1.12, allocations: 113.8 kB / 1.226 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/1.12, allocations: 4 kB / 1.226 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.041e-05/1.12, allocations: 12.36 kB / 1.226 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.12, allocations: 3.938 kB / 1.226 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.12, allocations: 0 / 1.226 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-05/1.12, allocations: 96.83 kB / 1.226 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/1.12, allocations: 11.98 kB / 1.226 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/1.121, allocations: 11.98 kB / 1.226 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.129e-05/1.121, allocations: 19.97 kB / 1.226 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005764/1.121, allocations: 225.4 kB / 1.226 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005289/1.122, allocations: 322.6 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002039/1.122, allocations: 59.89 kB / 1.226 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.873e-05/1.122, allocations: 91.27 kB / 1.226 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of Backend: time 3.61e-07/1.122, allocations: 4 kB / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005872/1.123, allocations: 136.7 kB / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0007843/1.123, allocations: 0.604 MB / 1.227 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of Templates: time 0.005042/1.129, allocations: 1.755 MB / 1.229 GB, free: 9.957 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches