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.001554/0.001555, allocations: 109.3 kB / 15.99 MB, free: 5.914 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.001532/0.001532, allocations: 198.6 kB / 16.91 MB, free: 5.754 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.342/1.342, allocations: 222.9 MB / 240.6 MB, free: 13.74 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.609/2.609, allocations: 469.8 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 68.08 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2793, allocations: 159.2 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002118/0.2815, allocations: 0.8303 MB / 1.065 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.2826, allocations: 0.8663 MB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.659e-05/0.2826, allocations: 0 / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.161e-05/0.2827, allocations: 7.922 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.416e-05/0.2828, allocations: 7.938 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.283, allocations: 35.97 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.2831, allocations: 87.81 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.2832, allocations: 19.94 kB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.177e-05/0.2833, allocations: 35.91 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.877e-05/0.2834, allocations: 51.81 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.2834, allocations: 8 kB / 1.066 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.811e-05/0.2835, allocations: 8 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.848e-05/0.2835, allocations: 23.86 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.89e-05/0.2835, allocations: 43.77 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.712e-05/0.2836, allocations: 55.89 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.2837, allocations: 0 / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2837, allocations: 0 / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2837, allocations: 4 kB / 1.066 GB, free: 13.02 MB / 0.8419 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.00066/0.2843, allocations: 391.5 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.2844, allocations: 8.031 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.2844, allocations: 8.844 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.2846, allocations: 184.1 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.2846, allocations: 8.375 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.2846, allocations: 4.375 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.285, allocations: 105.7 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.285, allocations: 8 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.285, allocations: 4 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.285, allocations: 0 / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.2854, allocations: 95.89 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005648/0.286, allocations: 344.6 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006408/0.2866, allocations: 114.6 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.2868, allocations: 64.8 kB / 1.067 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.2869, allocations: 7.922 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.2869, allocations: 34.56 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.2869, allocations: 0 / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0006564/0.2876, allocations: 181.5 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.2876, allocations: 51.41 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.2877, allocations: 125.8 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.2878, allocations: 25.7 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.2878, allocations: 96.05 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.2879, allocations: 19.73 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.2879, allocations: 21.7 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2881, allocations: 322.8 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.2883, allocations: 47.95 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.2884, allocations: 47.89 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.2888, allocations: 100.8 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2888, allocations: 4 kB / 1.069 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004085/0.2892, allocations: 133.5 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.2892, allocations: 7.984 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2892, allocations: 0 / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.2892, allocations: 0 / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.2894, allocations: 23.97 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2894, allocations: 7.938 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.2896, allocations: 15.92 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.2896, allocations: 7.938 kB / 1.069 GB, free: 10.22 MB / 0.8419 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.0001034/0.2897, allocations: 118.5 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.2897, allocations: 7.906 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.2898, allocations: 12.36 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2898, allocations: 0 / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2898, allocations: 0 / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2898, allocations: 3.938 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.29, allocations: 209.5 kB / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.29, allocations: 0 / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.2902, allocations: 27.97 kB / 1.069 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2902, allocations: 0 / 1.069 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.2902, allocations: 4 kB / 1.069 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2902, allocations: 0.5469 kB / 1.069 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2902, allocations: 0 / 1.069 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004803/0.2907, allocations: 255.1 kB / 1.069 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.2908, allocations: 81.02 kB / 1.069 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.2908, allocations: 4 kB / 1.069 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.291, allocations: 11.97 kB / 1.069 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.335e-05/0.291, allocations: 19.98 kB / 1.069 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.2911, allocations: 7.938 kB / 1.069 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.277e-05/0.2911, allocations: 103.6 kB / 1.07 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.2911, allocations: 0 / 1.07 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002284/0.2914, allocations: 12 kB / 1.07 GB, free: 9.27 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001219/0.2915, allocations: 99.23 kB / 1.07 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004181/0.2919, allocations: 107.8 kB / 1.07 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2919, allocations: 4 kB / 1.07 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.2921, allocations: 59.94 kB / 1.07 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.2924, allocations: 8 kB / 1.07 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004617/0.2929, allocations: 227.9 kB / 1.07 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.2932, allocations: 0.6885 MB / 1.071 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.795e-05/0.2933, allocations: 19.42 kB / 1.071 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of SimCode: time 4.91e-07/0.2933, allocations: 0 / 1.071 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of Templates: time 0.002942/0.2962, allocations: 1.239 MB / 1.072 GB, free: 6.766 MB / 0.8419 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