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.002022/0.002022, 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.002447/0.002447, allocations: 210.5 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.566/1.566, allocations: 230.6 MB / 256 MB, free: 7.789 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.33/3.33, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.002041/0.002041, allocations: 66.11 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3715, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001951/0.3735, allocations: 0.5504 MB / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 3.948e-05/0.3735, allocations: 0 / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.3735, allocations: 4 kB / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.3736, allocations: 3.938 kB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.902e-05/0.3736, allocations: 0 / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 2.859e-05/0.3736, allocations: 0 / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.72e-05/0.3737, allocations: 4 kB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.045e-05/0.3738, allocations: 7.984 kB / 1.364 GB, free: 13.51 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.27e-05/0.3738, allocations: 4 kB / 1.364 GB, free: 13.51 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.115e-05/0.3738, allocations: 3.984 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.3738, allocations: 3.938 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.481e-06/0.3738, allocations: 0 / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.3738, allocations: 0 / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.822e-05/0.3738, allocations: 3.938 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 6.815e-05/0.3739, allocations: 4 kB / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3739, allocations: 0 / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3739, allocations: 0 / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.3739, allocations: 0 / 1.364 GB, free: 13.49 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.0003323/0.3743, allocations: 242.7 kB / 1.364 GB, free: 13.22 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.3743, allocations: 12.03 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.638e-05/0.3743, allocations: 30.75 kB / 1.364 GB, free: 13.17 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.216e-05/0.3744, allocations: 0.9375 kB / 1.364 GB, free: 13.17 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.3745, allocations: 106.5 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.3745, allocations: 384 / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.3745, allocations: 4.312 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.044e-05/0.3746, allocations: 30.27 kB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.3746, allocations: 3.938 kB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.3746, allocations: 0 / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-06/0.3746, allocations: 0 / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.483e-05/0.3746, allocations: 4 kB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.375, allocations: 350.6 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.3751, allocations: 185.4 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.395e-05/0.3752, allocations: 80.14 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.883e-05/0.3752, allocations: 75.28 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.925e-05/0.3753, allocations: 109.8 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.3753, allocations: 0 / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.224e-05/0.3754, allocations: 33.72 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.744e-05/0.3754, allocations: 130.6 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.3755, allocations: 97.86 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.3756, allocations: 29.83 kB / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.3756, allocations: 80.14 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.3756, allocations: 0 / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.3756, allocations: 13.72 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3758, allocations: 310.8 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.049e-06/0.3758, allocations: 0 / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.597e-06/0.3758, allocations: 0 / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.094e-05/0.3758, allocations: 75.28 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-05/0.3759, allocations: 87.2 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.539e-05/0.3759, allocations: 25.7 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.113e-05/0.376, allocations: 87.28 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.675e-05/0.376, allocations: 83.22 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.309e-05/0.3761, allocations: 150.6 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.676e-05/0.3762, allocations: 79.22 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-05/0.3762, allocations: 154.6 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.575e-05/0.3763, allocations: 75.28 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.3763, allocations: 91.14 kB / 1.367 GB, free: 10.51 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.0001539/0.3765, allocations: 268.3 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.51e-05/0.3766, allocations: 101 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.148e-05/0.3766, allocations: 113.1 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-05/0.3767, allocations: 176.3 kB / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.344e-05/0.3768, allocations: 184.2 kB / 1.367 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.091e-05/0.3769, allocations: 184.2 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.3771, allocations: 372.2 kB / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-05/0.3772, allocations: 112.9 kB / 1.368 GB, free: 8.922 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.857e-05/0.3773, allocations: 109 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-05/0.3773, allocations: 176.3 kB / 1.368 GB, free: 8.629 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.467e-05/0.3774, allocations: 184.2 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.493e-05/0.3775, allocations: 184.5 kB / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-05/0.3776, allocations: 180.2 kB / 1.369 GB, free: 8.07 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.3778, allocations: 319.7 kB / 1.369 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.3778, allocations: 109 kB / 1.369 GB, free: 7.621 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.675e-05/0.3779, allocations: 176.3 kB / 1.37 GB, free: 7.441 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.495e-05/0.378, allocations: 112.9 kB / 1.37 GB, free: 7.324 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.955e-05/0.3781, allocations: 176.3 kB / 1.37 GB, free: 7.145 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-05/0.3781, allocations: 104.9 kB / 1.37 GB, free: 7.035 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.533e-05/0.3782, allocations: 83.28 kB / 1.37 GB, free: 6.953 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3782, allocations: 0 / 1.37 GB, free: 6.953 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002407/0.3784, allocations: 0 / 1.37 GB, free: 6.953 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.0004751/0.3789, allocations: 0.8009 MB / 1.371 GB, free: 6.121 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 4.065e-05/0.3789, allocations: 8.094 kB / 1.371 GB, free: 6.113 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3789, allocations: 0 / 1.371 GB, free: 6.113 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.3789, allocations: 3.938 kB / 1.371 GB, free: 6.109 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.3793, allocations: 459.7 kB / 1.371 GB, free: 5.656 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.3805, allocations: 1.52 MB / 1.373 GB, free: 4.059 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.099e-05/0.3805, allocations: 55.36 kB / 1.373 GB, free: 3.984 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.003e-06/0.3805, allocations: 0 / 1.373 GB, free: 3.984 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.3805, allocations: 7.438 kB / 1.373 GB, free: 3.977 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.3805, allocations: 0 / 1.373 GB, free: 3.977 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.4083, allocations: 1.41 MB / 1.374 GB, free: 2.695 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.58, allocations: 5.734 kB / 1.374 GB, free: 2.691 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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.589178588707]