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.001469/0.001469, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001633/0.001633, allocations: 191 kB / 17.29 MB, free: 5.516 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.428/2.428, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001258, allocations: 73.3 kB / 0.8773 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2703, allocations: 153 MB / 1.027 GB, free: 2.008 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add): time 0.001892/0.2722, allocations: 0.7866 MB / 1.028 GB, free: 1.227 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008662/0.2731, allocations: 0.874 MB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.193e-05/0.2731, allocations: 0 / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.103e-05/0.2732, allocations: 7.875 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.36e-05/0.2733, allocations: 7.875 kB / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.2734, allocations: 43.94 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.2735, allocations: 83.83 kB / 1.028 GB, free: 204 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.2737, allocations: 32.16 kB / 1.029 GB, free: 168 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.525e-05/0.2738, allocations: 35.91 kB / 1.029 GB, free: 132 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.77e-05/0.2738, allocations: 47.81 kB / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.2739, allocations: 8 kB / 1.029 GB, free: 76 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.854e-05/0.2739, allocations: 12 kB / 1.029 GB, free: 64 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.464e-05/0.2739, allocations: 15.92 kB / 1.029 GB, free: 48 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.274, allocations: 43.77 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.2741, allocations: 95.59 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2741, allocations: 4 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2741, allocations: 0 / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2741, allocations: 0 / 1.029 GB, free: 15.91 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.0005881/0.2747, allocations: 395.2 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.2748, allocations: 11.97 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.2748, allocations: 8.844 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.2749, allocations: 183.9 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.275, allocations: 8.375 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.275, allocations: 8.375 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.2753, allocations: 110.1 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2753, allocations: 192 / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.2753, allocations: 7.938 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2753, allocations: 0 / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003535/0.2757, allocations: 95.91 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.2762, allocations: 352.6 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005923/0.2768, allocations: 118.6 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.277, allocations: 64.8 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.277, allocations: 0 / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.2771, allocations: 38.55 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.2771, allocations: 0 / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006219/0.2777, allocations: 181.5 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.2777, allocations: 55.41 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.205e-05/0.2778, allocations: 129.7 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.2779, allocations: 29.64 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.724e-05/0.2779, allocations: 96.06 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.2779, allocations: 19.72 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.278, allocations: 21.7 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2781, allocations: 326.8 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.2783, allocations: 47.94 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.2785, allocations: 43.95 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003146/0.2788, allocations: 100.8 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2788, allocations: 0 / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003811/0.2792, allocations: 141.4 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2792, allocations: 4 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2792, allocations: 0 / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.2792, allocations: 0 / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.2794, allocations: 23.97 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2794, allocations: 4 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.2795, allocations: 19.92 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.2796, allocations: 4 kB / 1.031 GB, free: 13.09 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 8.492e-05/0.2796, allocations: 125.7 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.2797, allocations: 3.906 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.2797, allocations: 12.38 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2797, allocations: 0 / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2797, allocations: 3.984 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2797, allocations: 4 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.2799, allocations: 213.4 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2799, allocations: 0 / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.2801, allocations: 27.97 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2801, allocations: 4 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.2801, allocations: 4 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.2801, allocations: 3.984 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2802, allocations: 0 / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004202/0.2806, allocations: 231.3 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.2806, allocations: 89 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.2807, allocations: 7.938 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.2808, allocations: 11.98 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/0.2809, allocations: 19.97 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.2809, allocations: 8 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.062e-05/0.281, allocations: 99.2 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.281, allocations: 0 / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002347/0.2812, allocations: 16 kB / 1.032 GB, free: 12.12 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 9.182e-05/0.2813, allocations: 99.19 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003952/0.2817, allocations: 112.5 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2817, allocations: 0 / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.2819, allocations: 63.89 kB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.2822, allocations: 14.64 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003962/0.2826, allocations: 182 kB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.2828, allocations: 0.6962 MB / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.783e-05/0.2829, 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 5.644e-05/0.283, allocations: 15.42 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of SimCode: time 3.4e-07/0.283, allocations: 4 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of Templates: time 0.003684/0.2867, allocations: 1.585 MB / 1.035 GB, free: 9.301 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 cvode -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