Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.508/1.508, allocations: 249.5 MB / 257 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 161 kB / 316.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.3 MB / 0.5671 GB, free: 15.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008987/0.0008987, allocations: 94.41 kB / 0.6714 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.041e-05/2.044e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2132, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7165/0.9297, allocations: 132 MB / 1.014 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.9299, allocations: 74.08 kB / 1.014 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004473/0.9344, allocations: 1.485 MB / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9345, allocations: 0 / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.9345, allocations: 0 / 1.016 GB, free: 4.449 MB / 0.6355 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.0005472/0.935, allocations: 382 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.9351, allocations: 8.031 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.9351, allocations: 7.906 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.9353, allocations: 186.6 kB / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.9354, allocations: 0 / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.9354, allocations: 4 kB / 1.016 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001345/0.9355, allocations: 52.11 kB / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.9357, allocations: 73.28 kB / 1.016 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.9357, allocations: 0 / 1.016 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.9357, allocations: 0 / 1.016 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.9358, allocations: 7.938 kB / 1.016 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004993/0.9363, allocations: 327.6 kB / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004069/0.9367, allocations: 85.97 kB / 1.017 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.798e-05/0.9367, allocations: 26.8 kB / 1.017 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.9368, allocations: 7.938 kB / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.9368, allocations: 34.5 kB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.9368, allocations: 0 / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002422/0.9371, allocations: 94.84 kB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.9371, allocations: 51.41 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.9372, allocations: 118.2 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.9373, allocations: 25.7 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.9373, allocations: 94.17 kB / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.9374, allocations: 22.77 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/0.9374, allocations: 0 / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.9375, allocations: 318.3 kB / 1.017 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.389e-05/0.9376, allocations: 24.75 kB / 1.018 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.246e-05/0.9376, allocations: 21.92 kB / 1.018 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.686e-05/0.9377, allocations: 18.56 kB / 1.018 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9377, allocations: 0 / 1.018 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001462/0.9379, allocations: 83.73 kB / 1.018 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.9379, allocations: 4 kB / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.9379, allocations: 0 / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.9379, allocations: 4 kB / 1.018 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.9381, allocations: 35.91 kB / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.9381, allocations: 0 / 1.018 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.9383, allocations: 27.83 kB / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.9383, allocations: 2.938 kB / 1.018 GB, free: 2.324 MB / 0.6355 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 (add1.u1,add1.u2,add1.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.888e-05/0.9384, allocations: 107.6 kB / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.9384, allocations: 7.906 kB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.9385, allocations: 7.25 kB / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.9385, allocations: 4 kB / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.9385, allocations: 0 / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.9385, allocations: 7.984 kB / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.9387, allocations: 177.4 kB / 1.018 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.9387, allocations: 0 / 1.018 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.9389, allocations: 31.91 kB / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.9389, allocations: 0 / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.9389, allocations: 0 / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.9389, allocations: 8 kB / 1.018 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.9389, allocations: 3.984 kB / 1.018 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.9392, allocations: 178.3 kB / 1.018 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/0.9392, allocations: 92.98 kB / 1.018 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.9392, allocations: 0 / 1.018 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.9394, allocations: 18.52 kB / 1.018 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.598e-05/0.9395, allocations: 23.16 kB / 1.018 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.9395, allocations: 4 kB / 1.018 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.066e-05/0.9396, allocations: 102 kB / 1.018 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9396, allocations: 0 / 1.018 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002336/0.9398, allocations: 15.94 kB / 1.018 GB, free: 1.527 MB / 0.6355 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.u1,add1.u2,add1.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001545/0.94, allocations: 111.2 kB / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001567/0.9401, allocations: 53.86 kB / 1.019 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9402, allocations: 4 kB / 1.019 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.437e-05/0.9402, allocations: 38.42 kB / 1.019 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.9405, allocations: 11.27 kB / 1.019 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000375/0.9409, allocations: 116.1 kB / 1.019 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.9412, allocations: 0.6924 MB / 1.019 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.194e-05/0.9413, allocations: 12.17 kB / 1.019 GB, free: 488 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.048e-05/0.9414, allocations: 15.44 kB / 1.019 GB, free: 472 kB / 0.6355 GB Notification: Performance of SimCode: time 2.1e-07/0.9414, allocations: 0 / 1.019 GB, free: 472 kB / 0.6355 GB Notification: Performance of Templates: time 0.003828/0.9452, allocations: 1.234 MB / 1.021 GB, free: 15.25 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches