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.001843/0.001842, allocations: 108.2 kB / 16.41 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.001832/0.001832, allocations: 193.7 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 2.277/2.277, 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 4.457/4.457, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002915/0.002916, allocations: 71.88 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.329/1.332, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002302/1.334, allocations: 0.7792 MB / 1.209 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001389/1.336, allocations: 0.8585 MB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.146e-05/1.336, allocations: 0 / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.515e-05/1.336, allocations: 7.922 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/1.336, allocations: 11.86 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/1.336, allocations: 43.89 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001461/1.336, allocations: 91.81 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/1.337, allocations: 19.98 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/1.337, allocations: 43.84 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.951e-05/1.337, allocations: 47.81 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/1.337, allocations: 8 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.968e-05/1.337, allocations: 12 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.292e-05/1.337, allocations: 23.86 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.096e-05/1.337, allocations: 27.86 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/1.337, allocations: 91.64 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/1.337, allocations: 0 / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.202e-06/1.337, allocations: 0 / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.791e-06/1.337, allocations: 3.938 kB / 1.21 GB, free: 11.55 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007557/1.338, allocations: 393 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/1.338, allocations: 12.03 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/1.338, allocations: 8.844 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/1.338, allocations: 180.2 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/1.338, allocations: 8.359 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/1.338, allocations: 8.375 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/1.339, allocations: 101.5 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/1.339, allocations: 0 / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/1.339, allocations: 0 / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/1.339, allocations: 8 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003534/1.339, allocations: 95.91 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006049/1.34, allocations: 340.5 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006401/1.34, allocations: 122.6 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/1.341, allocations: 56.81 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/1.341, allocations: 7.984 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/1.341, allocations: 34.5 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 2.074e-06/1.341, allocations: 4 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0007468/1.341, allocations: 181.5 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/1.341, allocations: 55.34 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/1.342, allocations: 117.8 kB / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/1.342, allocations: 25.7 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/1.342, allocations: 108 kB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/1.342, allocations: 11.75 kB / 1.212 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.882e-05/1.342, allocations: 29.7 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001868/1.342, allocations: 318.8 kB / 1.213 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/1.342, allocations: 43.95 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/1.342, allocations: 51.95 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004688/1.343, allocations: 105.2 kB / 1.213 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.343, allocations: 0 / 1.213 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004191/1.343, allocations: 133.5 kB / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/1.343, allocations: 12 kB / 1.213 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/1.343, allocations: 0 / 1.213 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/1.343, allocations: 0 / 1.213 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/1.343, allocations: 23.97 kB / 1.213 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/1.343, allocations: 0 / 1.213 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/1.344, allocations: 19.92 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/1.344, allocations: 7.984 kB / 1.213 GB, free: 8.762 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: 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.0001009/1.344, allocations: 117.8 kB / 1.213 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/1.344, allocations: 7.906 kB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.152e-05/1.344, allocations: 12.38 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/1.344, allocations: 3.984 kB / 1.213 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/1.344, allocations: 3.938 kB / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/1.344, allocations: 92.94 kB / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/1.344, allocations: 4 kB / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/1.344, allocations: 11.98 kB / 1.213 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.761e-05/1.344, allocations: 19.97 kB / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000565/1.345, allocations: 228.8 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005089/1.345, allocations: 322.5 kB / 1.214 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002024/1.345, allocations: 59.94 kB / 1.214 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.105e-05/1.346, allocations: 99.64 kB / 1.214 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of Backend: time 5.51e-07/1.346, allocations: 0 / 1.214 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005534/1.346, allocations: 138.3 kB / 1.214 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0008112/1.347, allocations: 0.604 MB / 1.215 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of Templates: time 0.004816/1.352, allocations: 1.801 MB / 1.216 GB, free: 5.16 MB / 0.9356 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