Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001563/0.001563, allocations: 110.5 kB / 16.41 MB, free: 5.977 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.001676/0.001676, allocations: 188.3 kB / 17.34 MB, free: 5.586 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.276/2.276, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 71.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8307/0.8322, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.00191/0.8342, allocations: 0.7729 MB / 1.089 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009401/0.8351, allocations: 0.8611 MB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.078e-05/0.8352, allocations: 1.094 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.372e-05/0.8352, allocations: 9.281 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.949e-05/0.8353, allocations: 7.391 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.8355, allocations: 49.34 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.8356, allocations: 78.25 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.8358, allocations: 31.09 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.773e-05/0.8359, allocations: 35.2 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.703e-05/0.836, allocations: 48.89 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.836, allocations: 8.25 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.831e-05/0.836, allocations: 12.31 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.917e-05/0.8361, allocations: 22.91 kB / 1.091 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.007e-05/0.8361, allocations: 36.22 kB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.8363, allocations: 82.25 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8363, allocations: 1.125 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8363, allocations: 0 / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.8363, allocations: 0 / 1.091 GB, free: 4.172 MB / 0.8575 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.0005867/0.8369, allocations: 389.5 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.837, allocations: 16.47 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/0.837, allocations: 9.094 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.8371, allocations: 183.6 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.8371, allocations: 7.656 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.8372, allocations: 3.312 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.8375, allocations: 109.6 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.8375, allocations: 0 / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.8375, allocations: 4 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.8375, allocations: 6.109 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003962/0.8379, allocations: 97.02 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004947/0.8384, allocations: 349.1 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006434/0.8391, allocations: 125.3 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.8393, allocations: 59.58 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.8393, allocations: 4.891 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.364e-05/0.8394, allocations: 32.27 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.8394, allocations: 0 / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0006691/0.84, allocations: 182.8 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.8401, allocations: 52.78 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.738e-05/0.8402, allocations: 126.6 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.8402, allocations: 27.31 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.001e-05/0.8402, allocations: 96.92 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.8403, allocations: 19.92 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/0.8403, allocations: 23.28 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.003e-05/0.8404, allocations: 323.4 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.8406, allocations: 43.59 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.8408, allocations: 44.58 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.8411, allocations: 104.3 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8412, allocations: 0.8438 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004194/0.8416, allocations: 138.3 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.8416, allocations: 8.625 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.8416, allocations: 0.6875 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.8416, allocations: 1.562 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.8418, allocations: 27.39 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.8418, allocations: 0.7969 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.842, allocations: 17.16 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.842, allocations: 2.438 kB / 1.093 GB, free: 2.219 MB / 0.8575 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 7.423e-05/0.8421, allocations: 118.7 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.8421, allocations: 6.344 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.8421, allocations: 11.19 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.8421, allocations: 1.594 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.8422, allocations: 0 / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.8422, allocations: 5.531 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.8423, allocations: 198 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.8424, allocations: 1.5 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.8425, allocations: 23.22 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.8425, allocations: 4.516 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.8426, allocations: 6.469 kB / 1.094 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.8426, allocations: 1.156 kB / 1.094 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8426, allocations: 0 / 1.094 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004486/0.843, allocations: 239.2 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.74e-05/0.8431, allocations: 87.69 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.8431, allocations: 5.359 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.8432, allocations: 16.23 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/0.8433, allocations: 24.69 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.8433, allocations: 3.172 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.478e-05/0.8434, allocations: 96.91 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8434, allocations: 1.219 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002395/0.8436, allocations: 19.8 kB / 1.094 GB, free: 1.492 MB / 0.8575 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.000124/0.8438, allocations: 101.8 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000452/0.8442, allocations: 112 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8442, allocations: 0.9375 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.8445, allocations: 54.44 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.8448, allocations: 17.42 kB / 1.094 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.8452, allocations: 199.7 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.8454, allocations: 0.6934 MB / 1.095 GB, free: 488 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.403e-05/0.8455, allocations: 21.09 kB / 1.095 GB, free: 476 kB / 0.8575 GB Notification: Performance of SimCode: time 7.51e-07/0.8455, allocations: 0 / 1.095 GB, free: 476 kB / 0.8575 GB Notification: Performance of Templates: time 0.003476/0.849, allocations: 1.234 MB / 1.096 GB, free: 392 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches