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.001815/0.001815, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002441/0.002441, allocations: 212.2 kB / 22.25 MB, free: 4.855 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 7.801 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.376/3.376, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.00207/0.00207, allocations: 60.5 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3928, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002596/0.3954, allocations: 0.7563 MB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.3968, allocations: 0.8821 MB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.96e-05/0.3969, allocations: 4 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.569e-05/0.3969, allocations: 7.875 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.926e-05/0.397, allocations: 3.938 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.3972, allocations: 47.88 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.3974, allocations: 83.83 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.3976, allocations: 20.27 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.3977, allocations: 39.83 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.693e-05/0.3978, allocations: 35.84 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.3978, allocations: 8 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.062e-05/0.3979, allocations: 8 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.514e-05/0.3979, allocations: 31.89 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.725e-05/0.3979, allocations: 31.86 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.3981, allocations: 87.61 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3981, allocations: 0 / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3981, allocations: 4 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.3982, allocations: 0 / 1.365 GB, free: 12 MB / 1.061 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.0007733/0.3989, allocations: 318 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/0.399, allocations: 12.03 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.76e-05/0.399, allocations: 38.73 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.3991, allocations: 8.891 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.3993, allocations: 126.3 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.3993, allocations: 384 / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.3994, allocations: 12.12 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.3997, allocations: 108.6 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3997, allocations: 0 / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.3998, allocations: 0 / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.3998, allocations: 7.984 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004059/0.4002, allocations: 95.84 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006405/0.4008, allocations: 295.8 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000641/0.4015, allocations: 118.5 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.4017, allocations: 60.8 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.4017, allocations: 0 / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.4017, allocations: 34.56 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.4017, allocations: 0 / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0007083/0.4024, allocations: 189.7 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.4025, allocations: 55.41 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.4026, allocations: 133.6 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.4026, allocations: 25.7 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.05e-05/0.4027, allocations: 100 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.4027, allocations: 19.78 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.147e-05/0.4028, allocations: 29.7 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.403, allocations: 314.8 kB / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.4032, allocations: 43.95 kB / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.4034, allocations: 47.95 kB / 1.367 GB, free: 9.668 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.4037, allocations: 100.8 kB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4037, allocations: 0 / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000432/0.4042, allocations: 137.5 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.4042, allocations: 7.984 kB / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.4042, allocations: 0 / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.4042, allocations: 0 / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.4044, allocations: 35.91 kB / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.4044, allocations: 3.938 kB / 1.368 GB, free: 9.379 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.4045, allocations: 11.98 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.4045, allocations: 8 kB / 1.368 GB, free: 9.359 MB / 1.061 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.0001097/0.4046, allocations: 113.8 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.4047, allocations: 3.953 kB / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.4047, allocations: 16.36 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.4047, allocations: 0 / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.4047, allocations: 3.938 kB / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.4047, allocations: 4 kB / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.4049, allocations: 152.7 kB / 1.368 GB, free: 9.016 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4049, allocations: 0 / 1.368 GB, free: 9.016 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.4051, allocations: 27.91 kB / 1.368 GB, free: 8.988 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4051, allocations: 0 / 1.368 GB, free: 8.988 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.4051, allocations: 11.98 kB / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4051, allocations: 3.938 kB / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4051, allocations: 3.938 kB / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000554/0.4057, allocations: 239.3 kB / 1.368 GB, free: 8.719 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.4057, allocations: 11.89 kB / 1.368 GB, free: 8.707 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.4057, allocations: 0 / 1.368 GB, free: 8.707 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.4059, allocations: 15.98 kB / 1.368 GB, free: 8.691 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.362e-05/0.4059, allocations: 23.91 kB / 1.368 GB, free: 8.668 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.4059, allocations: 4 kB / 1.368 GB, free: 8.664 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.681e-05/0.406, allocations: 91.27 kB / 1.368 GB, free: 8.574 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.406, allocations: 0 / 1.368 GB, free: 8.574 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002371/0.4063, allocations: 16 kB / 1.368 GB, free: 8.559 MB / 1.061 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.0009027/0.4072, allocations: 0.7748 MB / 1.369 GB, free: 7.758 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004404/0.4076, allocations: 95.91 kB / 1.369 GB, free: 7.664 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4076, allocations: 4 kB / 1.369 GB, free: 7.66 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.4078, allocations: 68.5 kB / 1.369 GB, free: 7.594 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.4082, allocations: 7.938 kB / 1.369 GB, free: 7.586 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.4106, allocations: 1.539 MB / 1.371 GB, free: 5.969 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.907e-05/0.4107, allocations: 71.33 kB / 1.371 GB, free: 5.879 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.943e-05/0.4108, allocations: 12 kB / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.213e-05/0.4109, allocations: 27.42 kB / 1.371 GB, free: 5.84 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.4109, allocations: 0 / 1.371 GB, free: 5.84 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0366/0.4475, allocations: 3.369 MB / 1.374 GB, free: 2.617 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.91, allocations: 6.172 kB / 1.374 GB, free: 2.613 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.977718527894467]