Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.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.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_10_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.001335/0.001336, allocations: 101.7 kB / 16.27 MB, free: 6.414 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.001414/0.001414, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.405/1.405, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.548/2.548, allocations: 437.1 MB / 0.7111 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002727/0.002727, allocations: 60.12 kB / 0.8699 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3316, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002168/0.3338, allocations: 0.7882 MB / 1.019 GB, free: 9.82 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.3349, allocations: 0.8623 MB / 1.02 GB, free: 8.945 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.679e-05/0.335, allocations: 7.938 kB / 1.02 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.554e-05/0.335, allocations: 3.938 kB / 1.02 GB, free: 8.934 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.353e-05/0.3351, allocations: 7.875 kB / 1.02 GB, free: 8.926 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.3353, allocations: 47.88 kB / 1.02 GB, free: 8.879 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.3354, allocations: 79.8 kB / 1.02 GB, free: 8.801 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.3355, allocations: 31.97 kB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.337e-05/0.3356, allocations: 31.86 kB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.3357, allocations: 63.73 kB / 1.02 GB, free: 8.676 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.3357, allocations: 8 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.811e-05/0.3358, allocations: 8 kB / 1.02 GB, free: 8.66 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.746e-05/0.3358, allocations: 15.92 kB / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.236e-05/0.3358, allocations: 39.78 kB / 1.02 GB, free: 8.605 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.336, allocations: 87.72 kB / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.336, allocations: 4 kB / 1.02 GB, free: 8.516 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.052e-06/0.336, allocations: 0 / 1.02 GB, free: 8.516 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.336, allocations: 0 / 1.02 GB, free: 8.516 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.0006635/0.3367, allocations: 387.5 kB / 1.02 GB, free: 8.09 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.3367, allocations: 8.922 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.368e-05/0.3368, allocations: 8.844 kB / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.3369, allocations: 172.2 kB / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.337, allocations: 12.38 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.337, allocations: 4.375 kB / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003174/0.3373, allocations: 113.7 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.3373, allocations: 0 / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.3374, allocations: 4 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.3374, allocations: 3.984 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003762/0.3377, allocations: 95.91 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005604/0.3383, allocations: 348.6 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006129/0.3389, allocations: 118.6 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.3392, allocations: 60.8 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.3392, allocations: 0 / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.3392, allocations: 38.56 kB / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.3392, allocations: 4 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0006845/0.3399, allocations: 185.3 kB / 1.022 GB, free: 6.816 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.34, allocations: 55.41 kB / 1.022 GB, free: 6.75 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.3401, allocations: 117.8 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.3401, allocations: 25.7 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.3402, allocations: 104 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.3402, allocations: 19.73 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.3403, allocations: 25.7 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3404, allocations: 322.8 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.3406, allocations: 43.95 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.3408, allocations: 47.95 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003514/0.3412, allocations: 96.78 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3412, allocations: 0 / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004235/0.3416, allocations: 137.4 kB / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3416, allocations: 12 kB / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3417, allocations: 0 / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3417, allocations: 0 / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.3418, allocations: 23.97 kB / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3419, allocations: 0.5469 kB / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.342, allocations: 15.92 kB / 1.023 GB, free: 5.734 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.342, allocations: 0 / 1.023 GB, free: 5.734 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 0.0001093/0.3421, allocations: 126.9 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.3421, allocations: 7.906 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/0.3422, allocations: 8.375 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3422, allocations: 4 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3422, allocations: 0 / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3422, allocations: 7.875 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.3424, allocations: 201.5 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3425, allocations: 4 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.3426, allocations: 23.97 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.3426, allocations: 4 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.3426, allocations: 4 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3426, allocations: 0 / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3427, allocations: 0 / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004853/0.3431, allocations: 240.8 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/0.3432, allocations: 85.02 kB / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.3432, allocations: 7.984 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.3434, allocations: 15.92 kB / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.454e-05/0.3435, allocations: 15.98 kB / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.3435, allocations: 15.86 kB / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.084e-05/0.3436, allocations: 95.27 kB / 1.023 GB, free: 4.789 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3436, allocations: 0 / 1.023 GB, free: 4.789 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002248/0.3438, allocations: 12 kB / 1.023 GB, free: 4.777 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.0001318/0.3439, allocations: 107.2 kB / 1.023 GB, free: 4.664 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004266/0.3444, allocations: 103.9 kB / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3444, allocations: 0 / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.3446, allocations: 67.88 kB / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.3449, allocations: 14.5 kB / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004859/0.3454, allocations: 192.6 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.3458, allocations: 0.6924 MB / 1.024 GB, free: 3.539 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.806e-05/0.3458, allocations: 23.42 kB / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.3458, allocations: 0 / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of Templates: time 0.00292/0.3488, allocations: 1.229 MB / 1.026 GB, free: 2.297 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches