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.001613/0.001613, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00175/0.00175, allocations: 194.3 kB / 16.25 MB, free: 6.633 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.369/1.369, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.36/2.36, allocations: 390.2 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 63.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6773/0.6787, allocations: 140.4 MB / 0.9492 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001781/0.6805, allocations: 0.8215 MB / 0.95 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006875/0.6812, allocations: 0.8601 MB / 0.9509 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.227e-05/0.6813, allocations: 1.25 kB / 0.9509 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.707e-05/0.6813, allocations: 3.938 kB / 0.9509 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.552e-05/0.6814, allocations: 13.44 kB / 0.9509 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001385/0.6816, allocations: 34.86 kB / 0.9509 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.6817, allocations: 86.17 kB / 0.951 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.6818, allocations: 28.03 kB / 0.951 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.536e-05/0.6819, allocations: 36.78 kB / 0.9511 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.864e-05/0.6819, allocations: 51.91 kB / 0.9511 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.616e-05/0.682, allocations: 12.56 kB / 0.9511 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.695e-05/0.682, allocations: 7.406 kB / 0.9512 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.682, allocations: 18.67 kB / 0.9512 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.329e-05/0.6821, allocations: 30.2 kB / 0.9512 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.185e-05/0.6822, allocations: 82.88 kB / 0.9513 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.6822, allocations: 1.719 kB / 0.9513 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6822, allocations: 3.938 kB / 0.9513 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.6822, allocations: 0 / 0.9513 GB, free: 7.508 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.0005145/0.6827, allocations: 397.1 kB / 0.9517 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.6827, allocations: 9.625 kB / 0.9517 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.948e-05/0.6828, allocations: 40.12 kB / 0.9517 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.6828, allocations: 12.95 kB / 0.9517 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.627e-05/0.6829, allocations: 181.7 kB / 0.9519 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.6829, allocations: 11.11 kB / 0.9519 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.683, allocations: 3.125 kB / 0.9519 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.6832, allocations: 108.5 kB / 0.952 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.6833, allocations: 7.938 kB / 0.952 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.6833, allocations: 5.375 kB / 0.952 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.6833, allocations: 1.375 kB / 0.952 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003558/0.6836, allocations: 96.14 kB / 0.9521 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.6841, allocations: 345.5 kB / 0.9524 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006072/0.6847, allocations: 115.1 kB / 0.9526 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.6849, allocations: 69.33 kB / 0.9526 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.6849, allocations: 5.328 kB / 0.9526 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.162e-05/0.6849, allocations: 32.16 kB / 0.9527 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.6849, allocations: 0 / 0.9527 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006203/0.6856, allocations: 178.9 kB / 0.9528 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.823e-05/0.6856, allocations: 53.06 kB / 0.9529 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.6857, allocations: 133.1 kB / 0.953 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.6857, allocations: 26.77 kB / 0.953 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.879e-05/0.6857, allocations: 91 kB / 0.9531 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.6858, allocations: 25.83 kB / 0.9531 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.6858, allocations: 29.02 kB / 0.9532 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.259e-05/0.6859, allocations: 316.1 kB / 0.9535 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.686, allocations: 51.55 kB / 0.9535 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.6862, allocations: 44.36 kB / 0.9536 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.6866, allocations: 101.6 kB / 0.9537 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6866, allocations: 5.406 kB / 0.9537 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003855/0.687, allocations: 131 kB / 0.9538 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.687, allocations: 9.328 kB / 0.9538 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.687, allocations: 1.312 kB / 0.9538 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.687, allocations: 0 / 0.9538 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.6872, allocations: 27.44 kB / 0.9538 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.6872, allocations: 1.188 kB / 0.9538 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.6873, allocations: 18.73 kB / 0.9538 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.6873, allocations: 2.438 kB / 0.9538 GB, free: 5.211 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 5.905e-05/0.6874, allocations: 113.5 kB / 0.954 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.6874, allocations: 6.375 kB / 0.954 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.6875, allocations: 15.27 kB / 0.954 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.6875, allocations: 0 / 0.954 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.6875, allocations: 1.5 kB / 0.954 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.6875, allocations: 7.938 kB / 0.954 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.6876, allocations: 199.3 kB / 0.9542 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.6876, allocations: 0 / 0.9542 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.6878, allocations: 23.91 kB / 0.9542 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.6878, allocations: 1.344 kB / 0.9542 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.6878, allocations: 5.406 kB / 0.9542 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.6879, allocations: 0 / 0.9542 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6879, allocations: 3.938 kB / 0.9542 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/0.6883, allocations: 243.6 kB / 0.9544 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.105e-05/0.6883, allocations: 83.95 kB / 0.9545 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.6883, allocations: 0 / 0.9545 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.6885, allocations: 15.06 kB / 0.9545 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.679e-05/0.6886, allocations: 22.45 kB / 0.9546 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.6886, allocations: 2.594 kB / 0.9546 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.748e-05/0.6886, allocations: 105.5 kB / 0.9547 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6886, allocations: 0 / 0.9547 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002421/0.6889, allocations: 24.47 kB / 0.9547 GB, free: 4.406 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.0005843/0.6895, allocations: 0.7771 MB / 0.9554 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004106/0.6899, allocations: 108.9 kB / 0.9555 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.6899, allocations: 1.094 kB / 0.9555 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.6901, allocations: 67.64 kB / 0.9556 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.6904, allocations: 13.27 kB / 0.9556 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.6921, allocations: 1.537 MB / 0.9571 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.6923, allocations: 0.694 MB / 0.9578 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.676e-05/0.6923, allocations: 15.3 kB / 0.9578 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.939e-05/0.6924, allocations: 29.39 kB / 0.9578 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.6924, allocations: 0 / 0.9578 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01346/0.7059, allocations: 2.415 MB / 0.9602 GB, free: 264 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/0.7061, allocations: 197.3 kB / 0.9604 GB, free: 8 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/2.658, allocations: 0 / 0.9604 GB, free: 8 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