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.001647/0.001647, 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.00213/0.00213, allocations: 193 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.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.536/2.536, allocations: 390.3 MB / 0.6647 GB, free: 416 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 67.89 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8098/0.8115, allocations: 140.3 MB / 0.9497 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.00232/0.8138, allocations: 0.7726 MB / 0.9505 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.8149, allocations: 0.8624 MB / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.143e-05/0.8149, allocations: 1.375 kB / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.685e-05/0.815, allocations: 11.88 kB / 0.9513 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.983e-05/0.8151, allocations: 5.312 kB / 0.9513 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.8153, allocations: 42.36 kB / 0.9514 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.8154, allocations: 87 kB / 0.9515 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.8155, allocations: 22.2 kB / 0.9515 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.551e-05/0.8156, allocations: 46.39 kB / 0.9515 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.374e-05/0.8157, allocations: 48.09 kB / 0.9516 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.8158, allocations: 7.844 kB / 0.9516 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.307e-05/0.8158, allocations: 7.812 kB / 0.9516 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.139e-05/0.8158, allocations: 22.19 kB / 0.9516 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.045e-05/0.8159, allocations: 35.59 kB / 0.9516 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.816, allocations: 90.19 kB / 0.9517 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.816, allocations: 0 / 0.9517 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.084e-06/0.816, allocations: 0 / 0.9517 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.8161, allocations: 1.062 kB / 0.9517 GB, free: 7.586 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.0006337/0.8167, allocations: 393.9 kB / 0.9521 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.8167, allocations: 8.75 kB / 0.9521 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.75e-05/0.8168, allocations: 41.94 kB / 0.9522 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.8168, allocations: 7.312 kB / 0.9522 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.817, allocations: 181.6 kB / 0.9523 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.817, allocations: 7.219 kB / 0.9523 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.817, allocations: 3.438 kB / 0.9524 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.8173, allocations: 109 kB / 0.9525 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.8174, allocations: 0 / 0.9525 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.8174, allocations: 5.312 kB / 0.9525 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.8174, allocations: 1.375 kB / 0.9525 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003706/0.8178, allocations: 90.69 kB / 0.9525 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.8183, allocations: 360.2 kB / 0.9529 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006258/0.8189, allocations: 113 kB / 0.953 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.8192, allocations: 62.34 kB / 0.9531 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.8192, allocations: 1.312 kB / 0.9531 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.8192, allocations: 38.5 kB / 0.9531 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/0.8192, allocations: 1.25 kB / 0.9531 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0007167/0.8199, allocations: 179.3 kB / 0.9533 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.82, allocations: 56.75 kB / 0.9533 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.8201, allocations: 129 kB / 0.9534 GB, free: 6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.8201, allocations: 26.8 kB / 0.9535 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.8202, allocations: 103.7 kB / 0.9536 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.8202, allocations: 21.05 kB / 0.9536 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/0.8203, allocations: 24.7 kB / 0.9536 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.197e-05/0.8204, allocations: 323.9 kB / 0.9539 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.8206, allocations: 44.83 kB / 0.954 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.8207, allocations: 48.73 kB / 0.954 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.8211, allocations: 97.59 kB / 0.9541 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.8211, allocations: 0 / 0.9541 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003873/0.8215, allocations: 140.8 kB / 0.9542 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.8215, allocations: 5.125 kB / 0.9542 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.8215, allocations: 0 / 0.9542 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.8215, allocations: 1.438 kB / 0.9542 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.8217, allocations: 27.69 kB / 0.9543 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.8217, allocations: 0 / 0.9543 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.8218, allocations: 19.12 kB / 0.9543 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.8219, allocations: 6.594 kB / 0.9543 GB, free: 5.293 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 7.389e-05/0.8219, allocations: 117.7 kB / 0.9544 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.822, allocations: 5.812 kB / 0.9544 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.822, allocations: 10.06 kB / 0.9544 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.822, allocations: 5.25 kB / 0.9544 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.822, allocations: 1.344 kB / 0.9544 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.822, allocations: 7.922 kB / 0.9544 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.8222, allocations: 195.3 kB / 0.9546 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.8222, allocations: 0 / 0.9546 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.8224, allocations: 24.69 kB / 0.9546 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.8224, allocations: 4 kB / 0.9547 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.8224, allocations: 5.109 kB / 0.9547 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.8224, allocations: 1.062 kB / 0.9547 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.8224, allocations: 3.984 kB / 0.9547 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004233/0.8228, allocations: 244 kB / 0.9549 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.651e-05/0.8229, allocations: 78.33 kB / 0.955 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.8229, allocations: 1.312 kB / 0.955 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.8231, allocations: 11.14 kB / 0.955 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.119e-05/0.8232, allocations: 30.69 kB / 0.955 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.8232, allocations: 2.094 kB / 0.955 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.468e-05/0.8232, allocations: 101 kB / 0.9551 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8232, allocations: 0 / 0.9551 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002342/0.8235, allocations: 20.03 kB / 0.9551 GB, free: 4.492 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.0007101/0.8242, allocations: 0.7727 MB / 0.9559 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000439/0.8246, allocations: 105.1 kB / 0.956 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.8246, allocations: 1.156 kB / 0.956 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.8249, allocations: 66.33 kB / 0.956 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.8252, allocations: 12.58 kB / 0.9561 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.8271, allocations: 1.526 MB / 0.9575 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.8272, allocations: 0.6925 MB / 0.9582 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.63e-05/0.8273, allocations: 10.47 kB / 0.9582 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.823e-05/0.8274, allocations: 31.08 kB / 0.9583 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.8274, allocations: 0 / 0.9583 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01999/0.8474, allocations: 2.649 MB / 0.9609 GB, free: 184 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.63/8.477, allocations: 7.609 kB / 0.9609 GB, free: 180 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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