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.001107/0.001107, allocations: 119.6 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.001107/0.001107, allocations: 193 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.18 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.442/2.442, allocations: 437.1 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 64.16 kB / 0.8707 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.295, allocations: 151.6 MB / 1.019 GB, free: 9.785 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Integers.Validation.Add): time 0.001964/0.297, allocations: 0.7788 MB / 1.02 GB, free: 9.004 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008815/0.2979, allocations: 0.8755 MB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.267e-05/0.298, allocations: 4 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.464e-05/0.298, allocations: 7.922 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.077e-05/0.2981, allocations: 7.875 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.2983, allocations: 43.89 kB / 1.02 GB, free: 8.055 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.2984, allocations: 91.72 kB / 1.021 GB, free: 7.965 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.2985, allocations: 24.22 kB / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.394e-05/0.2986, allocations: 43.84 kB / 1.021 GB, free: 7.895 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.206e-05/0.2987, allocations: 51.75 kB / 1.021 GB, free: 7.844 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.2987, allocations: 8 kB / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.576e-05/0.2987, allocations: 8 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.813e-05/0.2988, allocations: 15.98 kB / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.752e-05/0.2988, allocations: 39.77 kB / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.299, allocations: 99.66 kB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.299, allocations: 0 / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.833e-06/0.299, allocations: 0 / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.299, allocations: 0 / 1.021 GB, free: 7.676 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.0006046/0.2996, allocations: 391.2 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2996, allocations: 12.92 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.2997, allocations: 8.844 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.2998, allocations: 180.1 kB / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.2999, allocations: 16.36 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.2999, allocations: 4.375 kB / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.3002, allocations: 105.4 kB / 1.022 GB, free: 6.883 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3002, allocations: 192 / 1.022 GB, free: 6.883 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.3002, allocations: 11.94 kB / 1.022 GB, free: 6.871 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3002, allocations: 3.938 kB / 1.022 GB, free: 6.867 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003422/0.3006, allocations: 99.84 kB / 1.022 GB, free: 6.77 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004965/0.3011, allocations: 352.6 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005787/0.3017, allocations: 122.5 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.3019, allocations: 60.8 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.3019, allocations: 0 / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.3019, allocations: 34.56 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.3019, allocations: 0 / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0006042/0.3025, allocations: 181.5 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.3026, allocations: 51.41 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.781e-05/0.3027, allocations: 129.7 kB / 1.023 GB, free: 5.758 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.3027, allocations: 29.7 kB / 1.023 GB, free: 5.723 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.3027, allocations: 96.06 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.3028, allocations: 23.7 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.3028, allocations: 25.64 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.3029, allocations: 326.8 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.3031, allocations: 43.95 kB / 1.023 GB, free: 5.199 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.3033, allocations: 43.95 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/0.3036, allocations: 100.8 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3036, allocations: 0 / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003993/0.304, allocations: 133.5 kB / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.304, allocations: 7.984 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.304, allocations: 4 kB / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3041, allocations: 0 / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.3042, allocations: 31.91 kB / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.3043, allocations: 0 / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.3044, allocations: 15.92 kB / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.3044, allocations: 4 kB / 1.023 GB, free: 4.855 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 9.522e-05/0.3045, allocations: 122.4 kB / 1.023 GB, free: 4.727 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.3045, allocations: 11.89 kB / 1.024 GB, free: 4.715 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.3046, allocations: 12.36 kB / 1.024 GB, free: 4.703 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3046, allocations: 4 kB / 1.024 GB, free: 4.699 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3046, allocations: 4 kB / 1.024 GB, free: 4.695 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3046, allocations: 3.938 kB / 1.024 GB, free: 4.691 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.3048, allocations: 205.5 kB / 1.024 GB, free: 4.441 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3048, allocations: 0 / 1.024 GB, free: 4.441 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.305, allocations: 23.97 kB / 1.024 GB, free: 4.418 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.305, allocations: 0 / 1.024 GB, free: 4.418 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.305, allocations: 4 kB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.305, allocations: 0 / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.305, allocations: 0 / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.3054, allocations: 243.2 kB / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.3055, allocations: 84.95 kB / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.3055, allocations: 7.984 kB / 1.024 GB, free: 4.051 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.3057, allocations: 11.98 kB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/0.3058, allocations: 23.98 kB / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.3058, allocations: 3.984 kB / 1.024 GB, free: 4.012 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.235e-05/0.3058, allocations: 95.27 kB / 1.024 GB, free: 3.918 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3058, allocations: 0 / 1.024 GB, free: 3.918 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000234/0.3061, allocations: 16 kB / 1.024 GB, free: 3.902 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 0.0001093/0.3062, allocations: 103.2 kB / 1.024 GB, free: 3.793 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003992/0.3066, allocations: 116.4 kB / 1.024 GB, free: 3.68 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3066, allocations: 0 / 1.024 GB, free: 3.68 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.3068, allocations: 59.95 kB / 1.024 GB, free: 3.621 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.3071, allocations: 6.656 kB / 1.024 GB, free: 3.617 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.3075, allocations: 186.6 kB / 1.025 GB, free: 3.406 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.3078, allocations: 0.6963 MB / 1.025 GB, free: 2.684 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 6.632e-05/0.3079, allocations: 15.98 kB / 1.025 GB, free: 2.668 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.682e-05/0.308, allocations: 11.44 kB / 1.025 GB, free: 2.656 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.308, allocations: 0 / 1.025 GB, free: 2.656 MB / 0.795 GB Notification: Performance of Templates: time 0.004628/0.3126, allocations: 1.604 MB / 1.027 GB, free: 1.066 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 gbode -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