Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.001444/0.001444, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001837/0.001837, allocations: 209.7 kB / 22.24 MB, free: 5.262 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.781 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.315/3.315, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",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.002177/0.002177, allocations: 63.78 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3849, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001958/0.3868, allocations: 0.5543 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 3.952e-05/0.3869, allocations: 0 / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.369e-05/0.3869, allocations: 4 kB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.3869, allocations: 0 / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.7e-05/0.3869, allocations: 3.938 kB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.108e-05/0.387, allocations: 0 / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.819e-05/0.387, allocations: 4 kB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.263e-05/0.3871, allocations: 0 / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.467e-05/0.3871, allocations: 4 kB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 1.863e-05/0.3871, allocations: 4 kB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.3871, allocations: 0 / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.997e-06/0.3872, allocations: 0 / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.3872, allocations: 0 / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.959e-05/0.3872, allocations: 0 / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 6.797e-05/0.3873, allocations: 7.922 kB / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3873, allocations: 4 kB / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3873, allocations: 0 / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.3873, allocations: 0 / 1.364 GB, free: 13.53 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003509/0.3876, allocations: 238.7 kB / 1.364 GB, free: 13.26 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.3877, allocations: 8.031 kB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.416e-05/0.3877, allocations: 34.75 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.967e-05/0.3877, allocations: 0.9375 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.3878, allocations: 114.5 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.3879, allocations: 384 / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.3879, allocations: 384 / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.397e-05/0.388, allocations: 34.2 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.388, allocations: 3.938 kB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-06/0.388, allocations: 0 / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.388, allocations: 0 / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.606e-05/0.388, allocations: 3.984 kB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.3883, allocations: 354.6 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.3885, allocations: 181.5 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.046e-05/0.3885, allocations: 80.14 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.067e-05/0.3885, allocations: 75.28 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.929e-05/0.3886, allocations: 109.8 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.3886, allocations: 0 / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.027e-05/0.3887, allocations: 29.73 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.698e-05/0.3887, allocations: 130.6 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.863e-05/0.3888, allocations: 97.86 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.3888, allocations: 25.83 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.3889, allocations: 92.11 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.3889, allocations: 0 / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.3889, allocations: 13.72 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3891, allocations: 314.8 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-06/0.3891, allocations: 0 / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-06/0.3891, allocations: 4 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.853e-05/0.3891, allocations: 75.28 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.42e-05/0.3891, allocations: 79.22 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.53e-05/0.3892, allocations: 29.7 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.573e-05/0.3892, allocations: 83.28 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.381e-05/0.3893, allocations: 87.22 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.515e-05/0.3894, allocations: 154.5 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.782e-05/0.3894, allocations: 79.22 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.334e-05/0.3895, allocations: 154.6 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.021e-05/0.3895, allocations: 75.28 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.3896, allocations: 79.22 kB / 1.367 GB, free: 10.54 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001511/0.3897, allocations: 268.3 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.3898, allocations: 101 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.454e-05/0.3899, allocations: 112.1 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.687e-05/0.3899, allocations: 181.3 kB / 1.367 GB, free: 9.855 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-05/0.39, allocations: 180.3 kB / 1.367 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.311e-05/0.3901, allocations: 184.2 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.3904, allocations: 376.2 kB / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.168e-05/0.3904, allocations: 108.9 kB / 1.368 GB, free: 8.953 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.847e-05/0.3905, allocations: 108.9 kB / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.979e-05/0.3905, allocations: 176.3 kB / 1.368 GB, free: 8.66 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.877e-05/0.3906, allocations: 180.2 kB / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.021e-05/0.3907, allocations: 188.6 kB / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-05/0.3908, allocations: 180.2 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.3909, allocations: 311.8 kB / 1.369 GB, free: 7.773 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/0.391, allocations: 112.9 kB / 1.369 GB, free: 7.656 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.943e-05/0.3911, allocations: 180.3 kB / 1.369 GB, free: 7.473 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.278e-05/0.3912, allocations: 108.9 kB / 1.37 GB, free: 7.359 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.423e-05/0.3913, allocations: 176.3 kB / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.354e-05/0.3913, allocations: 101 kB / 1.37 GB, free: 7.074 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.142e-05/0.3913, allocations: 91.2 kB / 1.37 GB, free: 6.984 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3913, allocations: 0 / 1.37 GB, free: 6.984 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002394/0.3916, allocations: 0 / 1.37 GB, free: 6.984 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0004586/0.392, allocations: 0.797 MB / 1.371 GB, free: 6.156 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 4.476e-05/0.3921, allocations: 12.03 kB / 1.371 GB, free: 6.145 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3921, allocations: 0 / 1.371 GB, free: 6.145 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.337e-06/0.3921, allocations: 3.938 kB / 1.371 GB, free: 6.141 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.3925, allocations: 463.7 kB / 1.371 GB, free: 5.684 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.3937, allocations: 1.516 MB / 1.373 GB, free: 4.09 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.521e-05/0.3937, allocations: 59.34 kB / 1.373 GB, free: 4.012 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.991e-06/0.3937, allocations: 0 / 1.373 GB, free: 4.012 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.3937, allocations: 7.438 kB / 1.373 GB, free: 4.004 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.3937, allocations: 0 / 1.373 GB, free: 4.004 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03451/0.4282, allocations: 1.422 MB / 1.374 GB, free: 2.711 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.82, allocations: 8.219 kB / 1.374 GB, free: 2.707 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_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_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.879550120793283]