Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Obsolete.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.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_10_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.001104/0.001104, allocations: 114.3 kB / 16.37 MB, free: 6.016 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.001151/0.001151, allocations: 194.7 kB / 17.31 MB, free: 5.613 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.407/2.407, allocations: 437.1 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 64.14 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.286, allocations: 151.6 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add): time 0.001845/0.2878, allocations: 0.7727 MB / 1.02 GB, free: 9.07 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008508/0.2887, allocations: 0.8638 MB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.2888, allocations: 0 / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.506e-05/0.2888, allocations: 11.86 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.948e-05/0.2889, allocations: 11.94 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.289, allocations: 47.88 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.2891, allocations: 91.67 kB / 1.021 GB, free: 8.035 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.2893, allocations: 28.2 kB / 1.021 GB, free: 8.004 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.039e-05/0.2894, allocations: 35.91 kB / 1.021 GB, free: 7.969 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.128e-05/0.2894, allocations: 55.75 kB / 1.021 GB, free: 7.914 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.2895, allocations: 8 kB / 1.021 GB, free: 7.906 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.566e-05/0.2895, allocations: 12 kB / 1.021 GB, free: 7.895 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.615e-05/0.2895, allocations: 15.98 kB / 1.021 GB, free: 7.879 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.467e-05/0.2896, allocations: 35.78 kB / 1.021 GB, free: 7.844 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.2897, allocations: 99.59 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2897, allocations: 0 / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2897, allocations: 0 / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.2897, allocations: 0 / 1.021 GB, free: 7.746 MB / 0.795 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.0005968/0.2903, allocations: 391.2 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.2904, allocations: 16.92 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.2904, allocations: 8.844 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.2905, allocations: 184.1 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.2906, allocations: 8.359 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.2906, allocations: 8.375 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.2909, allocations: 106.6 kB / 1.022 GB, free: 6.945 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.2909, allocations: 192 / 1.022 GB, free: 6.945 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.2909, allocations: 11.88 kB / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2909, allocations: 0 / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/0.2913, allocations: 99.91 kB / 1.022 GB, free: 6.836 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005034/0.2918, allocations: 348.6 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005943/0.2924, allocations: 126.5 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.2926, allocations: 56.81 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.2926, allocations: 3.984 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.2927, allocations: 34.56 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.2927, allocations: 0 / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0006213/0.2933, allocations: 185.5 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.2933, allocations: 51.41 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.2934, allocations: 132.5 kB / 1.023 GB, free: 5.82 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.2935, allocations: 25.7 kB / 1.023 GB, free: 5.789 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.2935, allocations: 100.1 kB / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.2935, allocations: 19.7 kB / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/0.2936, allocations: 25.7 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.2937, allocations: 318.8 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.2939, allocations: 47.95 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.2941, allocations: 43.95 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.2944, allocations: 104.8 kB / 1.023 GB, free: 5.121 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2944, allocations: 0 / 1.023 GB, free: 5.121 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003704/0.2948, allocations: 137.9 kB / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.2948, allocations: 7.984 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2948, allocations: 4 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.2948, allocations: 4 kB / 1.023 GB, free: 4.965 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.295, allocations: 23.97 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.295, allocations: 0 / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.2951, allocations: 15.92 kB / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.2951, allocations: 80 / 1.023 GB, free: 4.926 MB / 0.795 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.6e-05/0.2952, allocations: 122.4 kB / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.2953, allocations: 11.91 kB / 1.024 GB, free: 4.785 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.2953, allocations: 12.36 kB / 1.024 GB, free: 4.773 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.2953, allocations: 4 kB / 1.024 GB, free: 4.77 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2953, allocations: 0 / 1.024 GB, free: 4.77 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2953, allocations: 0 / 1.024 GB, free: 4.77 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.2955, allocations: 205.5 kB / 1.024 GB, free: 4.52 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2955, allocations: 0 / 1.024 GB, free: 4.52 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.2957, allocations: 27.91 kB / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2957, allocations: 0 / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.2957, allocations: 0 / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.2957, allocations: 11.92 kB / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2958, allocations: 0 / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004296/0.2962, allocations: 243.3 kB / 1.024 GB, free: 4.227 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.738e-05/0.2962, allocations: 81.02 kB / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.2963, allocations: 3.984 kB / 1.024 GB, free: 4.125 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.2964, allocations: 19.98 kB / 1.024 GB, free: 4.105 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.094e-05/0.2965, allocations: 19.98 kB / 1.024 GB, free: 4.086 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.2965, allocations: 7.984 kB / 1.024 GB, free: 4.078 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.341e-05/0.2966, allocations: 95.27 kB / 1.024 GB, free: 3.984 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2966, allocations: 0 / 1.024 GB, free: 3.984 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002299/0.2968, allocations: 16 kB / 1.024 GB, free: 3.969 MB / 0.795 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.712e-05/0.2969, allocations: 103.1 kB / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003913/0.2973, allocations: 111.9 kB / 1.024 GB, free: 3.75 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2973, allocations: 0 / 1.024 GB, free: 3.75 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.2975, allocations: 63.89 kB / 1.024 GB, free: 3.688 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.2978, allocations: 7.984 kB / 1.024 GB, free: 3.68 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.2982, allocations: 187.9 kB / 1.025 GB, free: 3.469 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.2984, allocations: 0.6924 MB / 1.025 GB, free: 2.75 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 6.186e-05/0.2985, allocations: 11.98 kB / 1.025 GB, free: 2.738 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.826e-05/0.2986, allocations: 15.44 kB / 1.025 GB, free: 2.723 MB / 0.795 GB Notification: Performance of SimCode: time 3.21e-07/0.2986, allocations: 0 / 1.025 GB, free: 2.723 MB / 0.795 GB Notification: Performance of Templates: time 0.00364/0.3022, allocations: 1.602 MB / 1.027 GB, free: 1.133 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Obsolete_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches