Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001199/0.001199, allocations: 111.8 kB / 16.42 MB, free: 6.512 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.001231/0.001231, allocations: 189.5 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.538/1.538, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.499/2.499, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 63.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124/1.126, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002307/1.128, allocations: 0.7853 MB / 1.168 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001176/1.129, allocations: 0.8686 MB / 1.169 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.338e-05/1.129, allocations: 0 / 1.169 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.163e-05/1.129, allocations: 3.938 kB / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/1.129, allocations: 23.84 kB / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/1.13, allocations: 27.97 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/1.13, allocations: 95.73 kB / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/1.13, allocations: 20 kB / 1.169 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/1.13, allocations: 35.84 kB / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/1.13, allocations: 59.75 kB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/1.13, allocations: 8 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.921e-05/1.13, allocations: 8 kB / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.372e-05/1.13, allocations: 19.92 kB / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/1.13, allocations: 35.78 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/1.131, allocations: 87.66 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.131, allocations: 4 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.044e-06/1.131, allocations: 0 / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.149e-05/1.131, allocations: 0 / 1.169 GB, free: 1.746 MB / 0.8887 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.0007531/1.131, allocations: 397 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/1.131, allocations: 8.625 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.565e-05/1.131, allocations: 12.84 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/1.132, allocations: 176.2 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/1.132, allocations: 8.375 kB / 1.17 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/1.132, allocations: 8.312 kB / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/1.132, allocations: 101.5 kB / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/1.132, allocations: 8 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/1.132, allocations: 4 kB / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/1.132, allocations: 0 / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003629/1.132, allocations: 95.89 kB / 1.17 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00057/1.133, allocations: 340.5 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006148/1.134, allocations: 118.6 kB / 1.171 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/1.134, allocations: 68.78 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/1.134, allocations: 0 / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/1.134, allocations: 38.56 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/1.134, allocations: 3.938 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.0006605/1.135, allocations: 181.4 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/1.135, allocations: 51.41 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/1.135, allocations: 129.8 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/1.135, allocations: 25.7 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/1.135, allocations: 92.05 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/1.135, allocations: 23.73 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/1.135, allocations: 21.7 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001056/1.135, allocations: 322.8 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/1.135, allocations: 43.95 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/1.135, allocations: 47.95 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/1.136, allocations: 104.7 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.136, allocations: 0 / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004132/1.136, allocations: 137.5 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/1.136, allocations: 4 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.136, allocations: 3.984 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/1.136, allocations: 0 / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/1.136, allocations: 27.91 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/1.136, allocations: 0.5469 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/1.137, allocations: 15.92 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/1.137, allocations: 8 kB / 1.172 GB, free: 14.95 MB / 0.9044 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 9.573e-05/1.137, allocations: 117.8 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/1.137, allocations: 3.906 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/1.137, allocations: 20.36 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/1.137, allocations: 3.984 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/1.137, allocations: 0 / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/1.137, allocations: 88.95 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/1.137, allocations: 0 / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/1.137, allocations: 15.98 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.105e-05/1.137, allocations: 23.91 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005575/1.138, allocations: 236.8 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004902/1.138, allocations: 314.5 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002019/1.138, allocations: 55.95 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.599e-05/1.138, allocations: 95.27 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of Backend: time 5.11e-07/1.138, allocations: 0 / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005563/1.139, allocations: 138.3 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006191/1.14, allocations: 0.604 MB / 1.174 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of Templates: time 0.004555/1.144, allocations: 1.74 MB / 1.175 GB, free: 11.43 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches