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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.385/2.385, allocations: 390.3 MB / 405.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 179.3 kB / 498.1 MB, free: 5.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.658/1.658, allocations: 223.2 MB / 0.7949 GB, free: 18.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 102.3 kB / 0.9346 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003846/0.0003847, allocations: 11.25 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3917, allocations: 142.3 MB / 1.223 GB, free: 89.58 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2567/0.6485, allocations: 149.1 MB / 1.369 GB, free: 4.266 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.6489, allocations: 71.95 kB / 1.369 GB, free: 4.195 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004783/0.6537, allocations: 1.433 MB / 1.37 GB, free: 2.762 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6537, allocations: 0 / 1.37 GB, free: 2.762 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.6537, allocations: 0 / 1.37 GB, free: 2.762 MB / 0.8698 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.0006195/0.6544, allocations: 399 kB / 1.37 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.6544, allocations: 8.031 kB / 1.37 GB, free: 2.316 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.6545, allocations: 7.906 kB / 1.37 GB, free: 2.309 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.6546, allocations: 171 kB / 1.371 GB, free: 2.102 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.6547, allocations: 8 kB / 1.371 GB, free: 2.094 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.6547, allocations: 4 kB / 1.371 GB, free: 2.09 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.6551, allocations: 117.6 kB / 1.371 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.6551, allocations: 0 / 1.371 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.6551, allocations: 3.938 kB / 1.371 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.6551, allocations: 11.94 kB / 1.371 GB, free: 1.953 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003751/0.6555, allocations: 115.8 kB / 1.371 GB, free: 1.84 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006043/0.6561, allocations: 352.6 kB / 1.371 GB, free: 1.445 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006499/0.6568, allocations: 134.5 kB / 1.371 GB, free: 1.305 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.6568, allocations: 0 / 1.371 GB, free: 1.305 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.6568, allocations: 30.56 kB / 1.371 GB, free: 1.266 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.6568, allocations: 4 kB / 1.371 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0006994/0.6576, allocations: 217.4 kB / 1.371 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.6576, allocations: 55.41 kB / 1.372 GB, free: 0.9766 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.6577, allocations: 113 kB / 1.372 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.6577, allocations: 25.7 kB / 1.372 GB, free: 0.8281 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/0.6578, allocations: 96.05 kB / 1.372 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.6578, allocations: 27.84 kB / 1.372 GB, free: 0.7031 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/0.6579, allocations: 0 / 1.372 GB, free: 0.7031 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.658, allocations: 314.8 kB / 1.372 GB, free: 396 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.6582, allocations: 55.95 kB / 1.372 GB, free: 340 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.6584, allocations: 55.95 kB / 1.372 GB, free: 284 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.6585, allocations: 59.89 kB / 1.372 GB, free: 224 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.6586, allocations: 4 kB / 1.372 GB, free: 220 kB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004124/0.659, allocations: 158.1 kB / 1.372 GB, free: 56 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.659, allocations: 4 kB / 1.372 GB, free: 52 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.659, allocations: 0 / 1.372 GB, free: 52 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.659, allocations: 0 / 1.372 GB, free: 52 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.6592, allocations: 43.86 kB / 1.372 GB, free: 8 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.6592, allocations: 0 / 1.372 GB, free: 8 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.6594, allocations: 27.83 kB / 1.372 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.6594, allocations: 3.984 kB / 1.372 GB, free: 15.98 MB / 0.8855 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.855e-05/0.6595, allocations: 117.8 kB / 1.373 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.6595, allocations: 4 kB / 1.373 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/0.6596, allocations: 12.38 kB / 1.373 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.758e-06/0.6596, allocations: 4 kB / 1.373 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6596, allocations: 3.953 kB / 1.373 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.6596, allocations: 0 / 1.373 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.6598, allocations: 205.5 kB / 1.373 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.6598, allocations: 4 kB / 1.373 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.66, allocations: 27.97 kB / 1.373 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.66, allocations: 0 / 1.373 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.66, allocations: 0 / 1.373 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.66, allocations: 80 / 1.373 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.6601, allocations: 7.922 kB / 1.373 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000472/0.6605, allocations: 259.4 kB / 1.373 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-05/0.6606, allocations: 85.02 kB / 1.373 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.6606, allocations: 0 / 1.373 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.6608, allocations: 23.91 kB / 1.373 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.531e-05/0.6609, allocations: 27.91 kB / 1.373 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.6609, allocations: 0 / 1.373 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.385e-05/0.661, allocations: 99.64 kB / 1.373 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.661, allocations: 4 kB / 1.373 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002363/0.6612, allocations: 19.95 kB / 1.373 GB, free: 14.99 MB / 0.8855 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 () * 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 (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.0001517/0.6614, allocations: 103 kB / 1.373 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004349/0.6618, allocations: 127.8 kB / 1.374 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6619, allocations: 4 kB / 1.374 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.6621, allocations: 67.95 kB / 1.374 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.6623, allocations: 15.92 kB / 1.374 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000446/0.6628, allocations: 197.4 kB / 1.374 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.6631, allocations: 0.6965 MB / 1.375 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.221e-05/0.6632, allocations: 12.19 kB / 1.375 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.6632, allocations: 15.42 kB / 1.375 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of SimCode: time 3.4e-07/0.6632, allocations: 0 / 1.375 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.003742/0.667, allocations: 1.288 MB / 1.376 GB, free: 12.42 MB / 0.8855 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches