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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001995/0.001996, allocations: 197 kB / 16.53 MB, free: 6.664 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.38/2.38, allocations: 390.3 MB / 0.6647 GB, free: 312 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001464, allocations: 63.91 kB / 0.8127 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6656/0.6671, allocations: 140.4 MB / 0.9497 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001801/0.669, allocations: 0.7756 MB / 0.9505 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006708/0.6697, allocations: 0.8671 MB / 0.9513 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.177e-05/0.6697, allocations: 0.6562 kB / 0.9513 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.829e-05/0.6698, allocations: 3.938 kB / 0.9513 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.195e-05/0.6698, allocations: 17.48 kB / 0.9514 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.67, allocations: 34.7 kB / 0.9514 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.783e-05/0.6701, allocations: 87.45 kB / 0.9515 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.6702, allocations: 22.39 kB / 0.9515 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.119e-05/0.6703, allocations: 40.69 kB / 0.9515 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.242e-05/0.6703, allocations: 52.72 kB / 0.9516 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.6704, allocations: 7.438 kB / 0.9516 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.734e-05/0.6704, allocations: 8.375 kB / 0.9516 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.291e-05/0.6704, allocations: 18.83 kB / 0.9516 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.106e-05/0.6705, allocations: 34.89 kB / 0.9516 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.411e-05/0.6706, allocations: 86.48 kB / 0.9517 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6706, allocations: 0 / 0.9517 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6706, allocations: 0 / 0.9517 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.6706, allocations: 1.5 kB / 0.9517 GB, free: 7.531 MB / 0.7169 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.0005069/0.6711, allocations: 400.8 kB / 0.9521 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.6711, allocations: 10.16 kB / 0.9521 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.741e-05/0.6712, allocations: 43.95 kB / 0.9522 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.6712, allocations: 8.812 kB / 0.9522 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.17e-05/0.6713, allocations: 173 kB / 0.9523 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.6713, allocations: 2.594 kB / 0.9523 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.6713, allocations: 8.781 kB / 0.9523 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.6716, allocations: 109.3 kB / 0.9525 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.6716, allocations: 0 / 0.9525 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.6717, allocations: 0 / 0.9525 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.6717, allocations: 5.219 kB / 0.9525 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003573/0.672, allocations: 100.3 kB / 0.9526 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004549/0.6725, allocations: 342.4 kB / 0.9529 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005776/0.6731, allocations: 121.9 kB / 0.953 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.6733, allocations: 69.84 kB / 0.9531 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.6733, allocations: 1.25 kB / 0.9531 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.371e-05/0.6733, allocations: 31.84 kB / 0.9531 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.6733, allocations: 3.938 kB / 0.9531 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006362/0.674, allocations: 179.8 kB / 0.9533 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/0.674, allocations: 52.53 kB / 0.9533 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.162e-05/0.6741, allocations: 133.4 kB / 0.9534 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.6741, allocations: 30.67 kB / 0.9535 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.07e-05/0.6741, allocations: 94.92 kB / 0.9536 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.6742, allocations: 22.81 kB / 0.9536 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.6742, allocations: 23.2 kB / 0.9536 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.031e-05/0.6743, allocations: 320.8 kB / 0.9539 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.6744, allocations: 44.27 kB / 0.954 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.6746, allocations: 44.58 kB / 0.954 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.675, allocations: 109.6 kB / 0.9541 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.675, allocations: 0 / 0.9541 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003908/0.6754, allocations: 136.8 kB / 0.9542 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.6754, allocations: 5.438 kB / 0.9542 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.6754, allocations: 3.984 kB / 0.9542 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.6754, allocations: 1.156 kB / 0.9542 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.6756, allocations: 31.84 kB / 0.9543 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.6756, allocations: 80 / 0.9543 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.6757, allocations: 15.86 kB / 0.9543 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.6757, allocations: 5.266 kB / 0.9543 GB, free: 5.23 MB / 0.7169 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 6.666e-05/0.6758, allocations: 113.8 kB / 0.9544 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.181e-05/0.6759, allocations: 10.86 kB / 0.9544 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/0.6759, allocations: 10.38 kB / 0.9544 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.6759, allocations: 1.156 kB / 0.9544 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.6759, allocations: 4 kB / 0.9544 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.6759, allocations: 5.25 kB / 0.9544 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.6761, allocations: 199.2 kB / 0.9546 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6761, allocations: 0 / 0.9546 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.6763, allocations: 31.72 kB / 0.9547 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.6763, allocations: 1.094 kB / 0.9547 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.6763, allocations: 5.531 kB / 0.9547 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.6763, allocations: 0 / 0.9547 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.6763, allocations: 0 / 0.9547 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004387/0.6768, allocations: 235.3 kB / 0.9549 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.6768, allocations: 79.48 kB / 0.955 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.6768, allocations: 1.031 kB / 0.955 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.677, allocations: 19 kB / 0.955 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/0.6771, allocations: 22.92 kB / 0.955 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.6771, allocations: 6.469 kB / 0.955 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.233e-05/0.6771, allocations: 92.45 kB / 0.9551 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6771, allocations: 0 / 0.9551 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002328/0.6774, allocations: 28.28 kB / 0.9551 GB, free: 4.434 MB / 0.7169 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.0006099/0.678, allocations: 0.77 MB / 0.9559 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004197/0.6784, allocations: 110.4 kB / 0.956 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.6784, allocations: 0 / 0.956 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.6786, allocations: 66.94 kB / 0.956 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.679, allocations: 11.34 kB / 0.9561 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.6808, allocations: 1.526 MB / 0.9575 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.6809, allocations: 0.6942 MB / 0.9582 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.221e-05/0.681, allocations: 14.02 kB / 0.9582 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.555e-05/0.6811, allocations: 30.11 kB / 0.9583 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.6811, allocations: 0 / 0.9583 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.7035, allocations: 2.648 MB / 0.9609 GB, free: 120 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.817/8.521, allocations: 8.172 kB / 0.9609 GB, free: 116 kB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > 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