Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001397/0.001397, allocations: 108.4 kB / 16.46 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.001501/0.001501, allocations: 216.2 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.485/1.485, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.848/2.848, allocations: 476.7 MB / 0.7672 GB, free: 5.199 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_11_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.002012/0.002012, allocations: 75.89 kB / 1.112 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8995/0.9015, allocations: 169.9 MB / 1.278 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002241/0.9037, allocations: 0.7771 MB / 1.279 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.9049, allocations: 0.8938 MB / 1.28 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.085e-05/0.905, allocations: 4 kB / 1.28 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.778e-05/0.905, allocations: 11.86 kB / 1.28 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.707e-05/0.9051, allocations: 3.938 kB / 1.28 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.9052, allocations: 47.88 kB / 1.28 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.9054, allocations: 83.77 kB / 1.28 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.936e-05/0.9055, allocations: 19.98 kB / 1.28 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.779e-05/0.9056, allocations: 39.91 kB / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.004e-05/0.9056, allocations: 51.81 kB / 1.28 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.9057, allocations: 8 kB / 1.28 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.585e-05/0.9057, allocations: 8 kB / 1.28 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.047e-05/0.9057, allocations: 23.91 kB / 1.28 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.9058, allocations: 31.8 kB / 1.28 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.9059, allocations: 89.48 kB / 1.28 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.9059, allocations: 0 / 1.28 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.292e-06/0.9059, allocations: 0 / 1.28 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.9059, allocations: 4 kB / 1.28 GB, free: 11.29 MB / 0.9825 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.0006879/0.9066, allocations: 401.1 kB / 1.281 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.9066, allocations: 8.031 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.904e-05/0.9067, allocations: 38.75 kB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.9067, allocations: 4.891 kB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.9069, allocations: 188.1 kB / 1.281 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.9069, allocations: 4.375 kB / 1.281 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.9069, allocations: 8.125 kB / 1.281 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.9073, allocations: 105.6 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.9073, allocations: 0 / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.9073, allocations: 4 kB / 1.281 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.9073, allocations: 7.938 kB / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003948/0.9077, allocations: 93.41 kB / 1.281 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005582/0.9083, allocations: 348.6 kB / 1.281 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006284/0.9089, allocations: 114.5 kB / 1.282 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.9091, allocations: 56.88 kB / 1.282 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.9091, allocations: 4 kB / 1.282 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.9091, allocations: 34.56 kB / 1.282 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.9091, allocations: 0 / 1.282 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0007179/0.9099, allocations: 193.6 kB / 1.282 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.9099, allocations: 59.41 kB / 1.282 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.91, allocations: 125.8 kB / 1.282 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.9101, allocations: 29.7 kB / 1.282 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/0.9101, allocations: 92.09 kB / 1.282 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.9101, allocations: 15.89 kB / 1.282 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/0.9102, allocations: 21.72 kB / 1.282 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.9104, allocations: 318.8 kB / 1.282 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.9105, allocations: 47.95 kB / 1.283 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.9107, allocations: 43.95 kB / 1.283 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.9111, allocations: 96.77 kB / 1.283 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9111, allocations: 0 / 1.283 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000439/0.9116, allocations: 145.5 kB / 1.283 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.9116, allocations: 11.94 kB / 1.283 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.9116, allocations: 0 / 1.283 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.9116, allocations: 0 / 1.283 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.9118, allocations: 23.97 kB / 1.283 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.9118, allocations: 3.938 kB / 1.283 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.9119, allocations: 27.91 kB / 1.283 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.9119, allocations: 0 / 1.283 GB, free: 8.434 MB / 0.9825 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.0001028/0.912, allocations: 113.8 kB / 1.283 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.912, allocations: 7.953 kB / 1.283 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.592e-05/0.9121, allocations: 12.36 kB / 1.283 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.9121, allocations: 4 kB / 1.283 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.9121, allocations: 3.938 kB / 1.283 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.9121, allocations: 3.984 kB / 1.283 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.9123, allocations: 193.6 kB / 1.283 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.9123, allocations: 8 kB / 1.283 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.9125, allocations: 27.91 kB / 1.283 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.9125, allocations: 0 / 1.283 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.9125, allocations: 7.984 kB / 1.283 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.9125, allocations: 0 / 1.283 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.9125, allocations: 3.938 kB / 1.283 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000493/0.913, allocations: 231.4 kB / 1.283 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/0.9131, allocations: 85.06 kB / 1.284 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.9131, allocations: 0 / 1.284 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.9132, allocations: 15.98 kB / 1.284 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/0.9133, allocations: 23.91 kB / 1.284 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.9133, allocations: 4 kB / 1.284 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.218e-05/0.9134, allocations: 95.27 kB / 1.284 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9134, allocations: 4 kB / 1.284 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002314/0.9136, allocations: 15.95 kB / 1.284 GB, free: 7.488 MB / 0.9825 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.0008412/0.9145, allocations: 0.7714 MB / 1.284 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000451/0.9149, allocations: 103.9 kB / 1.285 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.9149, allocations: 3.938 kB / 1.285 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.9151, allocations: 60.58 kB / 1.285 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.9155, allocations: 22.83 kB / 1.285 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/0.9177, allocations: 1.543 MB / 1.286 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.9181, allocations: 0.6963 MB / 1.287 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.216e-05/0.9182, allocations: 11.98 kB / 1.287 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.777e-05/0.9182, allocations: 27.42 kB / 1.287 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.9182, allocations: 0 / 1.287 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03027/0.9485, allocations: 2.714 MB / 1.29 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.211/9.159, allocations: 9.875 kB / 1.29 GB, free: 1.504 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv. Warning: Get data of variable sub.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv failed! Error: Could not read variable sub.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv. Warning: Get data of variable sub.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv failed! Error: Could not read variable sub.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv. Warning: Get data of variable sub.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.33982275496237]