Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_latest_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.007818/0.007818, allocations: 105.5 kB / 15.74 MB, free: 6.02 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.001818/0.001818, allocations: 193.3 kB / 16.67 MB, free: 5.934 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.541/2.541, allocations: 469.4 MB / 0.7422 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 67.89 kB / 1.064 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7248/0.7262, allocations: 159.1 MB / 1.22 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001914/0.7281, allocations: 0.7657 MB / 1.221 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009646/0.7291, allocations: 0.8701 MB / 1.221 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.264e-05/0.7292, allocations: 0 / 1.221 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.885e-05/0.7293, allocations: 11.81 kB / 1.221 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.76e-05/0.7294, allocations: 7.875 kB / 1.221 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.7296, allocations: 51.88 kB / 1.221 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.7297, allocations: 75.89 kB / 1.221 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.7298, allocations: 27.92 kB / 1.222 GB, free: 428 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.35e-05/0.7299, allocations: 43.83 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.76e-05/0.73, allocations: 43.83 kB / 1.222 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.73, allocations: 12 kB / 1.222 GB, free: 328 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.619e-05/0.7301, allocations: 8 kB / 1.222 GB, free: 320 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.897e-05/0.7301, allocations: 19.92 kB / 1.222 GB, free: 300 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.696e-05/0.7302, allocations: 35.84 kB / 1.222 GB, free: 264 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.7303, allocations: 86.33 kB / 1.222 GB, free: 180 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.7303, allocations: 0 / 1.222 GB, free: 180 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7303, allocations: 0 / 1.222 GB, free: 180 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.7303, allocations: 0 / 1.222 GB, free: 180 kB / 0.9356 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.0006522/0.731, allocations: 400.1 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.731, allocations: 12.62 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.7311, allocations: 38.69 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.7311, allocations: 8.891 kB / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.7313, allocations: 184.2 kB / 1.222 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.7313, allocations: 8.375 kB / 1.222 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.7313, allocations: 8.125 kB / 1.222 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.7317, allocations: 101.6 kB / 1.222 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.7317, allocations: 8 kB / 1.222 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.7317, allocations: 0 / 1.222 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.7317, allocations: 0 / 1.222 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003874/0.7321, allocations: 103.8 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005623/0.7327, allocations: 340.6 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006395/0.7334, allocations: 130.5 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.7336, allocations: 56.81 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.7336, allocations: 0 / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.7336, allocations: 38.55 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.7336, allocations: 0 / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0006717/0.7343, allocations: 177.5 kB / 1.223 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.7343, allocations: 59.33 kB / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.692e-05/0.7344, allocations: 133.8 kB / 1.223 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.7345, allocations: 25.7 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/0.7345, allocations: 92.09 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.7346, allocations: 27.78 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.7346, allocations: 21.7 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.7347, allocations: 318.8 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.7349, allocations: 43.95 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.7351, allocations: 51.89 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.7355, allocations: 96.77 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7355, allocations: 0 / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004435/0.7359, allocations: 137.5 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.736, allocations: 4 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.736, allocations: 0 / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.736, allocations: 7.984 kB / 1.224 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.7362, allocations: 27.97 kB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.7362, allocations: 3.938 kB / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.7363, allocations: 11.98 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.046e-06/0.7363, allocations: 0 / 1.224 GB, free: 13.32 MB / 0.9512 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 8.806e-05/0.7364, allocations: 118.4 kB / 1.224 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.7365, allocations: 7.953 kB / 1.224 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.116e-05/0.7365, allocations: 12.36 kB / 1.224 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.7365, allocations: 0 / 1.224 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.7365, allocations: 11.88 kB / 1.224 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.7365, allocations: 0 / 1.224 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.7368, allocations: 197.6 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7368, allocations: 0 / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.7369, allocations: 31.97 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.737, allocations: 3.938 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.737, allocations: 4 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.737, allocations: 0 / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.737, allocations: 4.484 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004727/0.7375, allocations: 235.4 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.752e-05/0.7375, allocations: 81.06 kB / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.7375, allocations: 12 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.7377, allocations: 7.984 kB / 1.225 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.388e-05/0.7378, allocations: 27.91 kB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.7378, allocations: 4 kB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.414e-05/0.7379, allocations: 91.27 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7379, allocations: 0 / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000244/0.7381, allocations: 19.94 kB / 1.225 GB, free: 12.37 MB / 0.9512 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.0007493/0.7389, allocations: 0.7787 MB / 1.226 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000423/0.7393, allocations: 103.9 kB / 1.226 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.7393, allocations: 0 / 1.226 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.7396, allocations: 67.88 kB / 1.226 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.7399, allocations: 15.88 kB / 1.226 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.742, allocations: 1.549 MB / 1.228 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.7423, allocations: 0.6885 MB / 1.228 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.923e-05/0.7424, allocations: 12 kB / 1.228 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.524e-05/0.7425, allocations: 27.42 kB / 1.228 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of SimCode: time 2.71e-07/0.7425, allocations: 4 kB / 1.228 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.7614, allocations: 2.693 MB / 1.231 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.418/8.179, allocations: 18.94 kB / 1.231 GB, free: 6.383 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches