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.001717/0.001717, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.00252/0.00252, allocations: 220.6 kB / 22.26 MB, free: 5.125 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.988 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.269/3.269, allocations: 0.505 GB / 0.8101 GB, free: 22 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.002082/0.002082, allocations: 70.92 kB / 1.177 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3483, allocations: 180.2 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002357/0.3506, allocations: 0.7835 MB / 1.354 GB, free: 7.652 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.352, allocations: 0.8938 MB / 1.355 GB, free: 6.746 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.352, allocations: 0 / 1.355 GB, free: 6.746 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.948e-05/0.3521, allocations: 7.938 kB / 1.355 GB, free: 6.738 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.3522, allocations: 15.86 kB / 1.355 GB, free: 6.723 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.3523, allocations: 35.95 kB / 1.355 GB, free: 6.688 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.3525, allocations: 83.81 kB / 1.355 GB, free: 6.605 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.3526, allocations: 20.27 kB / 1.355 GB, free: 6.586 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.72e-05/0.3527, allocations: 39.84 kB / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.896e-05/0.3528, allocations: 47.83 kB / 1.355 GB, free: 6.5 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.3528, allocations: 8 kB / 1.355 GB, free: 6.492 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.524e-05/0.3528, allocations: 8 kB / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.3529, allocations: 27.84 kB / 1.355 GB, free: 6.457 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.354e-05/0.3529, allocations: 39.8 kB / 1.355 GB, free: 6.418 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.3531, allocations: 91.66 kB / 1.355 GB, free: 6.328 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3531, allocations: 0 / 1.355 GB, free: 6.328 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3531, allocations: 0 / 1.355 GB, free: 6.328 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3531, allocations: 0 / 1.355 GB, free: 6.328 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.000673/0.3538, allocations: 318 kB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3538, allocations: 12.03 kB / 1.355 GB, free: 5.977 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.042e-05/0.3539, allocations: 38.73 kB / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.3539, allocations: 8.891 kB / 1.355 GB, free: 5.922 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.3541, allocations: 130.4 kB / 1.355 GB, free: 5.77 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.3541, allocations: 384 / 1.355 GB, free: 5.77 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.3541, allocations: 12.12 kB / 1.355 GB, free: 5.758 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.3544, allocations: 105.6 kB / 1.356 GB, free: 5.648 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3544, allocations: 0 / 1.356 GB, free: 5.648 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.3544, allocations: 0 / 1.356 GB, free: 5.648 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.3545, allocations: 7.938 kB / 1.356 GB, free: 5.641 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003726/0.3548, allocations: 103.9 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007133/0.3555, allocations: 303.7 kB / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006377/0.3562, allocations: 118.6 kB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.3564, allocations: 56.81 kB / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.3564, allocations: 0 / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.3564, allocations: 46.48 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.3564, allocations: 3.938 kB / 1.356 GB, free: 4.957 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0006629/0.3571, allocations: 177.5 kB / 1.356 GB, free: 4.777 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.3571, allocations: 55.41 kB / 1.356 GB, free: 4.711 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.3573, allocations: 125.8 kB / 1.356 GB, free: 4.578 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.3573, allocations: 25.7 kB / 1.356 GB, free: 4.547 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.3573, allocations: 88.09 kB / 1.357 GB, free: 4.457 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.3574, allocations: 27.78 kB / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/0.3574, allocations: 25.72 kB / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3576, allocations: 318.8 kB / 1.357 GB, free: 4.078 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.3578, allocations: 43.95 kB / 1.357 GB, free: 4.035 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.3579, allocations: 48.25 kB / 1.357 GB, free: 3.988 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/0.3583, allocations: 112.8 kB / 1.357 GB, free: 3.875 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3583, allocations: 0 / 1.357 GB, free: 3.875 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003919/0.3587, allocations: 129.6 kB / 1.357 GB, free: 3.742 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3587, allocations: 8 kB / 1.357 GB, free: 3.734 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3587, allocations: 0 / 1.357 GB, free: 3.734 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.3587, allocations: 0 / 1.357 GB, free: 3.734 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.3589, allocations: 27.97 kB / 1.357 GB, free: 3.707 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.3589, allocations: 7.922 kB / 1.357 GB, free: 3.699 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.359, allocations: 11.98 kB / 1.357 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.359, allocations: 0 / 1.357 GB, free: 3.688 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.0001002/0.3591, allocations: 121.7 kB / 1.357 GB, free: 3.559 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.3591, allocations: 11.89 kB / 1.357 GB, free: 3.547 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.3592, allocations: 16.36 kB / 1.357 GB, free: 3.531 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.3592, allocations: 8 kB / 1.357 GB, free: 3.523 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.3592, allocations: 3.938 kB / 1.357 GB, free: 3.52 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3592, allocations: 3.984 kB / 1.357 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.3594, allocations: 168.7 kB / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3594, allocations: 0 / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.3596, allocations: 23.97 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3596, allocations: 3.984 kB / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.3596, allocations: 0 / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3596, allocations: 0 / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3596, allocations: 3.938 kB / 1.358 GB, free: 3.277 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005106/0.3601, allocations: 239.3 kB / 1.358 GB, free: 3.027 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.105e-05/0.3601, allocations: 11.89 kB / 1.358 GB, free: 3.016 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.3602, allocations: 4 kB / 1.358 GB, free: 3.012 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.3603, allocations: 11.98 kB / 1.358 GB, free: 3 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.235e-05/0.3604, allocations: 27.91 kB / 1.358 GB, free: 2.973 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.3604, allocations: 7.984 kB / 1.358 GB, free: 2.965 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.48e-05/0.3605, allocations: 95.27 kB / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3605, allocations: 0 / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002291/0.3607, allocations: 15.94 kB / 1.358 GB, free: 2.855 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.0008953/0.3616, allocations: 0.7709 MB / 1.359 GB, free: 2.059 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004129/0.362, allocations: 99.89 kB / 1.359 GB, free: 1.961 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.362, allocations: 4 kB / 1.359 GB, free: 1.957 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.3622, allocations: 67.88 kB / 1.359 GB, free: 1.891 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.3625, allocations: 13.19 kB / 1.359 GB, free: 1.879 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.3649, allocations: 1.53 MB / 1.36 GB, free: 276 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.3654, allocations: 0.6885 MB / 1.361 GB, free: 15.55 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.727e-05/0.3654, allocations: 12 kB / 1.361 GB, free: 15.54 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.405e-05/0.3655, allocations: 27.42 kB / 1.361 GB, free: 15.52 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.3655, allocations: 0 / 1.361 GB, free: 15.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03208/0.3976, allocations: 2.853 MB / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.21, allocations: 5.484 kB / 1.364 GB, free: 12.79 MB / 1.061 GB " [Timeout remaining time 289] (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: 18.20833014799973]