Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 105.4 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002473/0.002473, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 252.8 MB, free: 8.941 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.196/3.196, allocations: 0.505 GB / 0.8066 GB, free: 23.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 70.36 kB / 1.172 GB, free: 17.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3581, allocations: 180.2 MB / 1.348 GB, free: 10 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002271/0.3604, allocations: 0.7856 MB / 1.349 GB, free: 9.219 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.3617, allocations: 0.8899 MB / 1.349 GB, free: 8.316 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.144e-05/0.3617, allocations: 3.938 kB / 1.349 GB, free: 8.312 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.407e-05/0.3618, allocations: 7.922 kB / 1.349 GB, free: 8.305 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.3619, allocations: 15.88 kB / 1.349 GB, free: 8.289 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.3621, allocations: 39.88 kB / 1.349 GB, free: 8.25 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.3622, allocations: 79.89 kB / 1.35 GB, free: 8.172 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.3623, allocations: 19.98 kB / 1.35 GB, free: 8.152 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.939e-05/0.3624, allocations: 39.84 kB / 1.35 GB, free: 8.113 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.3626, allocations: 51.81 kB / 1.35 GB, free: 8.062 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.3626, allocations: 11.94 kB / 1.35 GB, free: 8.051 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.986e-05/0.3626, allocations: 8 kB / 1.35 GB, free: 8.043 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.387e-05/0.3626, allocations: 19.91 kB / 1.35 GB, free: 8.023 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.479e-05/0.3627, allocations: 39.8 kB / 1.35 GB, free: 7.984 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.3628, allocations: 91.94 kB / 1.35 GB, free: 7.895 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.3629, allocations: 0 / 1.35 GB, free: 7.895 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3629, allocations: 0 / 1.35 GB, free: 7.895 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.3629, allocations: 0 / 1.35 GB, free: 7.895 MB / 1.045 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.0007725/0.3636, allocations: 395.1 kB / 1.35 GB, free: 7.461 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.3637, allocations: 15.98 kB / 1.35 GB, free: 7.445 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.222e-05/0.3637, allocations: 34.75 kB / 1.35 GB, free: 7.402 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.3638, allocations: 8.891 kB / 1.35 GB, free: 7.395 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.364, allocations: 184.3 kB / 1.35 GB, free: 7.176 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.364, allocations: 4.375 kB / 1.35 GB, free: 7.172 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.3641, allocations: 12.06 kB / 1.35 GB, free: 7.16 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/0.3644, allocations: 105.6 kB / 1.351 GB, free: 7.051 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3644, allocations: 0 / 1.351 GB, free: 7.051 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.3644, allocations: 0 / 1.351 GB, free: 7.051 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3644, allocations: 0 / 1.351 GB, free: 7.051 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003909/0.3648, allocations: 102.8 kB / 1.351 GB, free: 6.953 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000597/0.3654, allocations: 352.6 kB / 1.351 GB, free: 6.559 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006863/0.3661, allocations: 118.6 kB / 1.351 GB, free: 6.434 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.3663, allocations: 56.81 kB / 1.351 GB, free: 6.375 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.3663, allocations: 3.938 kB / 1.351 GB, free: 6.371 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.3664, allocations: 30.56 kB / 1.351 GB, free: 6.332 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3664, allocations: 0 / 1.351 GB, free: 6.332 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.000716/0.3671, allocations: 193.5 kB / 1.351 GB, free: 6.137 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.3671, allocations: 51.41 kB / 1.351 GB, free: 6.074 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.3672, allocations: 133.7 kB / 1.352 GB, free: 5.934 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.3673, allocations: 25.7 kB / 1.352 GB, free: 5.902 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.056e-05/0.3673, allocations: 92.09 kB / 1.352 GB, free: 5.809 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.3674, allocations: 27.78 kB / 1.352 GB, free: 5.781 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.3674, allocations: 21.72 kB / 1.352 GB, free: 5.754 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3676, allocations: 322.8 kB / 1.352 GB, free: 5.43 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.3678, allocations: 43.95 kB / 1.352 GB, free: 5.387 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.368, allocations: 47.89 kB / 1.352 GB, free: 5.34 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/0.3684, allocations: 100.8 kB / 1.352 GB, free: 5.238 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3684, allocations: 0 / 1.352 GB, free: 5.238 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004388/0.3688, allocations: 133.6 kB / 1.352 GB, free: 5.102 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3688, allocations: 4 kB / 1.352 GB, free: 5.098 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3688, allocations: 0 / 1.352 GB, free: 5.098 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.3688, allocations: 8 kB / 1.352 GB, free: 5.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.369, allocations: 27.97 kB / 1.352 GB, free: 5.062 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.369, allocations: 7.875 kB / 1.352 GB, free: 5.055 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.3691, allocations: 15.97 kB / 1.352 GB, free: 5.039 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.3692, allocations: 0 / 1.352 GB, free: 5.039 MB / 1.045 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,sub.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 0.000104/0.3693, allocations: 113.8 kB / 1.352 GB, free: 4.918 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.3693, allocations: 7.953 kB / 1.352 GB, free: 4.91 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.38e-05/0.3693, allocations: 16.3 kB / 1.353 GB, free: 4.895 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3693, allocations: 4 kB / 1.353 GB, free: 4.891 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3693, allocations: 3.938 kB / 1.353 GB, free: 4.887 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3693, allocations: 4 kB / 1.353 GB, free: 4.883 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.3696, allocations: 197.6 kB / 1.353 GB, free: 4.641 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3696, allocations: 0 / 1.353 GB, free: 4.641 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.3698, allocations: 23.97 kB / 1.353 GB, free: 4.617 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3698, allocations: 0 / 1.353 GB, free: 4.617 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.3698, allocations: 11.92 kB / 1.353 GB, free: 4.605 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3698, allocations: 0 / 1.353 GB, free: 4.605 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3698, allocations: 3.938 kB / 1.353 GB, free: 4.602 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005215/0.3703, allocations: 235.3 kB / 1.353 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.3704, allocations: 85 kB / 1.353 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.3704, allocations: 8 kB / 1.353 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.3705, allocations: 11.98 kB / 1.353 GB, free: 4.234 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.237e-05/0.3706, allocations: 27.91 kB / 1.353 GB, free: 4.207 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.3706, allocations: 4 kB / 1.353 GB, free: 4.203 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.48e-05/0.3707, allocations: 91.27 kB / 1.353 GB, free: 4.113 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3707, allocations: 0 / 1.353 GB, free: 4.113 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002375/0.3709, allocations: 16 kB / 1.353 GB, free: 4.098 MB / 1.045 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 (sub.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.0009304/0.3719, allocations: 0.7709 MB / 1.354 GB, free: 3.301 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004534/0.3723, allocations: 100.6 kB / 1.354 GB, free: 3.203 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.3723, allocations: 8 kB / 1.354 GB, free: 3.195 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000229/0.3726, allocations: 59.89 kB / 1.354 GB, free: 3.137 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.3729, allocations: 17.64 kB / 1.354 GB, free: 3.121 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/0.3753, allocations: 1.533 MB / 1.356 GB, free: 1.504 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.3757, allocations: 0.6885 MB / 1.356 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001716/0.3759, allocations: 15.98 kB / 1.356 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.376, allocations: 27.42 kB / 1.356 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/0.376, allocations: 0 / 1.356 GB, free: 0.7461 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02866/0.4046, allocations: 2.717 MB / 1.359 GB, free: 14.14 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.311/8.716, allocations: 5.141 kB / 1.359 GB, free: 14.13 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sub.u1 in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv. Warning: Get data of variable sub.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv failed! Error: Could not read variable sub.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv. Warning: Get data of variable sub.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv failed! Error: Could not read variable sub.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv. Warning: Get data of variable sub.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.548368625808507]