Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_11_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_11_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.001665/0.001665, allocations: 121.6 kB / 16.82 MB, free: 5.754 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.002006/0.002006, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.55/1.55, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.953/2.953, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 68.69 kB / 1.097 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3746, allocations: 168.7 MB / 1.262 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.003171/0.3778, allocations: 0.7818 MB / 1.263 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.3792, allocations: 0.8666 MB / 1.264 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.266e-05/0.3793, allocations: 0 / 1.264 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.447e-05/0.3793, allocations: 3.938 kB / 1.264 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.3794, allocations: 15.86 kB / 1.264 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.3796, allocations: 35.95 kB / 1.264 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.3798, allocations: 87.75 kB / 1.264 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.3799, allocations: 20 kB / 1.264 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.38, allocations: 31.91 kB / 1.264 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.3802, allocations: 47.81 kB / 1.264 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.3802, allocations: 12 kB / 1.264 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.905e-05/0.3802, allocations: 8 kB / 1.264 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.743e-05/0.3802, allocations: 23.92 kB / 1.264 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.679e-05/0.3803, allocations: 43.77 kB / 1.264 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.3805, allocations: 83.61 kB / 1.264 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3805, allocations: 0 / 1.264 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3805, allocations: 0 / 1.264 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3805, allocations: 3.938 kB / 1.264 GB, free: 10.84 MB / 0.9825 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.0007692/0.3813, allocations: 399.1 kB / 1.264 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.3813, allocations: 8.031 kB / 1.264 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.61e-05/0.3814, allocations: 12.88 kB / 1.264 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.3816, allocations: 172.3 kB / 1.265 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.3816, allocations: 8.375 kB / 1.265 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.354e-05/0.3817, allocations: 4.375 kB / 1.265 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004759/0.3821, allocations: 109.5 kB / 1.265 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.3821, allocations: 4 kB / 1.265 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.3822, allocations: 8 kB / 1.265 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3822, allocations: 0 / 1.265 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003882/0.3826, allocations: 95.89 kB / 1.265 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000828/0.3834, allocations: 348.6 kB / 1.265 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007078/0.3841, allocations: 114.6 kB / 1.265 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.3843, allocations: 64.73 kB / 1.265 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.3844, allocations: 0 / 1.265 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.3844, allocations: 30.56 kB / 1.265 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.3844, allocations: 4 kB / 1.265 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0008031/0.3852, allocations: 181.5 kB / 1.266 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.3853, allocations: 51.41 kB / 1.266 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.3854, allocations: 121.8 kB / 1.266 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.3855, allocations: 29.7 kB / 1.266 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.3856, allocations: 100.1 kB / 1.266 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.3856, allocations: 27.78 kB / 1.266 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.053e-05/0.3857, allocations: 21.7 kB / 1.266 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002245/0.386, allocations: 318.8 kB / 1.266 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.3861, allocations: 51.89 kB / 1.266 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.3863, allocations: 47.95 kB / 1.266 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.3867, allocations: 92.77 kB / 1.266 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.3867, allocations: 3.938 kB / 1.266 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004609/0.3872, allocations: 137.6 kB / 1.267 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.3872, allocations: 7.984 kB / 1.267 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.3872, allocations: 0 / 1.267 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.461e-05/0.3872, allocations: 4 kB / 1.267 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.3874, allocations: 23.97 kB / 1.267 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.3874, allocations: 0 / 1.267 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.3876, allocations: 19.92 kB / 1.267 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.3876, allocations: 0 / 1.267 GB, free: 8.043 MB / 0.9825 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.0001636/0.3877, allocations: 117.8 kB / 1.267 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.3878, allocations: 7.953 kB / 1.267 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.393e-05/0.3878, allocations: 16.3 kB / 1.267 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3878, allocations: 0 / 1.267 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3878, allocations: 0 / 1.267 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.734e-05/0.3879, allocations: 89 kB / 1.267 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.3879, allocations: 0 / 1.267 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.3881, allocations: 15.98 kB / 1.267 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.875e-05/0.3882, allocations: 19.97 kB / 1.267 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005993/0.3888, allocations: 233.4 kB / 1.267 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005694/0.3893, allocations: 326.6 kB / 1.267 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002318/0.3896, allocations: 55.95 kB / 1.267 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.878e-05/0.3896, allocations: 91.27 kB / 1.268 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of Backend: time 4.61e-07/0.3896, allocations: 0 / 1.268 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006282/0.3903, allocations: 144.2 kB / 1.268 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0008242/0.3911, allocations: 0.615 MB / 1.268 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of Templates: time 0.005298/0.3964, allocations: 1.765 MB / 1.27 GB, free: 4.473 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches