Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Obsolete.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.Obsolete.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Obsolete.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.Obsolete.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.001297/0.001297, allocations: 106.7 kB / 16.35 MB, free: 5.824 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.00127/0.00127, allocations: 191 kB / 17.29 MB, free: 5.48 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.676/2.676, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 74.05 kB / 0.8773 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2876, allocations: 153 MB / 1.027 GB, free: 2.004 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add): time 0.002233/0.2898, allocations: 0.7851 MB / 1.027 GB, free: 1.227 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.2911, allocations: 0.874 MB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.358e-05/0.2911, allocations: 0 / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.43e-05/0.2912, allocations: 7.875 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.623e-05/0.2913, allocations: 11.86 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.2915, allocations: 43.94 kB / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.2917, allocations: 87.77 kB / 1.028 GB, free: 196 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.2919, allocations: 28.22 kB / 1.029 GB, free: 164 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.2921, allocations: 39.89 kB / 1.029 GB, free: 124 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.2922, allocations: 43.83 kB / 1.029 GB, free: 80 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.287e-05/0.2923, allocations: 12 kB / 1.029 GB, free: 68 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.948e-05/0.2923, allocations: 8 kB / 1.029 GB, free: 60 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.196e-05/0.2923, allocations: 23.91 kB / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.763e-05/0.2924, allocations: 35.8 kB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.2926, allocations: 103.6 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2926, allocations: 0 / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2926, allocations: 0 / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.2927, allocations: 0 / 1.029 GB, free: 15.89 MB / 0.8106 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.0008019/0.2935, allocations: 391.2 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.2935, allocations: 8.031 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.405e-05/0.2936, allocations: 8.844 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.2938, allocations: 180.1 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.2938, allocations: 12.31 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.2939, allocations: 8.375 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.2942, allocations: 114.1 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2943, allocations: 192 / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.2943, allocations: 3.938 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.2943, allocations: 0 / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003895/0.2947, allocations: 103.9 kB / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007037/0.2954, allocations: 348.6 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006566/0.2961, allocations: 122.5 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.2963, allocations: 60.81 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.2963, allocations: 0 / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.2964, allocations: 34.56 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 3.376e-06/0.2964, allocations: 0 / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006931/0.2971, allocations: 193.4 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.2971, allocations: 51.41 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.2972, allocations: 129.7 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.2973, allocations: 25.7 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.2973, allocations: 96.08 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.2974, allocations: 19.7 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.2974, allocations: 25.72 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.2975, allocations: 322.8 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.2977, allocations: 47.95 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.2979, allocations: 43.95 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.2983, allocations: 104.8 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2983, allocations: 0 / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004057/0.2987, allocations: 141.9 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.2987, allocations: 4 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2987, allocations: 0 / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.2987, allocations: 0 / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.2989, allocations: 27.97 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2989, allocations: 0 / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.299, allocations: 19.91 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.2991, allocations: 4 kB / 1.031 GB, free: 13.07 MB / 0.8106 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.0001033/0.2992, allocations: 121.7 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.2992, allocations: 3.906 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.2993, allocations: 20.36 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.2993, allocations: 0 / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2993, allocations: 4 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.2993, allocations: 0 / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.2995, allocations: 201.5 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.2995, allocations: 0 / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.2997, allocations: 27.91 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.2997, allocations: 0 / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.2997, allocations: 4 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.2997, allocations: 80 / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2997, allocations: 7.922 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004915/0.3002, allocations: 243.3 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.525e-05/0.3003, allocations: 85.02 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.3003, allocations: 0 / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.3005, allocations: 19.97 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.426e-05/0.3006, allocations: 19.92 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.3006, allocations: 8 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.692e-05/0.3007, allocations: 106.1 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.074e-06/0.3007, allocations: 0 / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000261/0.301, allocations: 15.94 kB / 1.032 GB, free: 12.11 MB / 0.8106 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.00015/0.3011, allocations: 103.2 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004402/0.3016, allocations: 99.91 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3016, allocations: 4 kB / 1.032 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.3018, allocations: 63.88 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.3021, allocations: 10.97 kB / 1.032 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004484/0.3026, allocations: 182.3 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.3028, allocations: 0.6962 MB / 1.033 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.856e-05/0.3029, allocations: 15.98 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/0.303, allocations: 23.42 kB / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of SimCode: time 4.21e-07/0.303, allocations: 0 / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of Templates: time 0.004196/0.3072, allocations: 1.585 MB / 1.035 GB, free: 9.289 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches