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.00159/0.00159, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001931/0.001931, allocations: 219.2 kB / 23.03 MB, free: 4.949 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.261/3.261, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 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="cs",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="cs",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.002016/0.002016, allocations: 62.81 kB / 1.171 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4043, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002219/0.4065, allocations: 0.5301 MB / 1.346 GB, free: 15.4 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 4.568e-05/0.4065, allocations: 0 / 1.346 GB, free: 15.4 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.4066, allocations: 4 kB / 1.346 GB, free: 15.39 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.06e-05/0.4066, allocations: 7.938 kB / 1.346 GB, free: 15.39 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.751e-05/0.4066, allocations: 0 / 1.346 GB, free: 15.39 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 2.853e-05/0.4067, allocations: 3.938 kB / 1.346 GB, free: 15.38 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.873e-05/0.4067, allocations: 3.984 kB / 1.346 GB, free: 15.38 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.692e-05/0.4068, allocations: 0 / 1.346 GB, free: 15.38 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.874e-05/0.4068, allocations: 8 kB / 1.346 GB, free: 15.37 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 2.004e-05/0.4068, allocations: 0 / 1.346 GB, free: 15.37 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.4068, allocations: 3.984 kB / 1.346 GB, free: 15.37 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.131e-06/0.4068, allocations: 0 / 1.346 GB, free: 15.37 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.4069, allocations: 3.938 kB / 1.346 GB, free: 15.36 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.946e-05/0.4069, allocations: 4 kB / 1.346 GB, free: 15.36 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 7.193e-05/0.4069, allocations: 4 kB / 1.346 GB, free: 15.36 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.407, allocations: 0 / 1.346 GB, free: 15.36 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.382e-06/0.407, allocations: 0 / 1.346 GB, free: 15.36 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.407, allocations: 0 / 1.346 GB, free: 15.36 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003519/0.4073, allocations: 246.6 kB / 1.346 GB, free: 15.08 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.4074, allocations: 8.031 kB / 1.346 GB, free: 15.07 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.763e-05/0.4074, allocations: 4.188 kB / 1.346 GB, free: 15.07 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.362e-05/0.4074, allocations: 30.75 kB / 1.346 GB, free: 15.03 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.596e-05/0.4074, allocations: 4.938 kB / 1.346 GB, free: 15.03 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.4076, allocations: 106.5 kB / 1.346 GB, free: 14.9 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.046e-06/0.4076, allocations: 4.375 kB / 1.346 GB, free: 14.89 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.4076, allocations: 384 / 1.346 GB, free: 14.89 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.372e-05/0.4077, allocations: 38 kB / 1.346 GB, free: 14.85 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.4077, allocations: 0 / 1.346 GB, free: 14.85 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.4077, allocations: 3.984 kB / 1.346 GB, free: 14.85 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.4077, allocations: 0 / 1.346 GB, free: 14.85 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.575e-05/0.4077, allocations: 0 / 1.346 GB, free: 14.85 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.4081, allocations: 354.6 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.4082, allocations: 173.5 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.295e-05/0.4083, allocations: 80.14 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.4083, allocations: 83.22 kB / 1.347 GB, free: 14.11 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.122e-05/0.4084, allocations: 113.8 kB / 1.347 GB, free: 13.99 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.4084, allocations: 0 / 1.347 GB, free: 13.99 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 0.0001137/0.4085, allocations: 33.67 kB / 1.347 GB, free: 13.95 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.814e-05/0.4086, allocations: 126.7 kB / 1.347 GB, free: 13.82 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.4087, allocations: 97.86 kB / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.4087, allocations: 25.7 kB / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.4087, allocations: 84.14 kB / 1.347 GB, free: 13.59 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.4087, allocations: 0 / 1.347 GB, free: 13.59 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/0.4088, allocations: 9.719 kB / 1.347 GB, free: 13.58 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.4089, allocations: 319 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.182e-06/0.409, allocations: 0 / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-06/0.409, allocations: 0 / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.594e-05/0.409, allocations: 87.16 kB / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.84e-05/0.409, allocations: 75.28 kB / 1.348 GB, free: 13.1 MB / 1.045 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.952e-05/0.4091, allocations: 25.7 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.887e-05/0.4092, allocations: 87.22 kB / 1.348 GB, free: 12.98 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-05/0.4092, allocations: 79.28 kB / 1.348 GB, free: 12.9 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000197/0.4094, allocations: 150.6 kB / 1.348 GB, free: 12.75 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.564e-05/0.4095, allocations: 83.22 kB / 1.348 GB, free: 12.67 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001638/0.4096, allocations: 154.5 kB / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.245e-05/0.4097, allocations: 83.22 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-05/0.4098, allocations: 79.28 kB / 1.349 GB, free: 12.36 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: 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.0001559/0.4099, allocations: 260.3 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.315e-05/0.41, allocations: 105 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.416e-05/0.4101, allocations: 115.9 kB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.162e-05/0.4102, allocations: 180.2 kB / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001127/0.4103, allocations: 180.2 kB / 1.349 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.73e-05/0.4104, allocations: 180.3 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.4107, allocations: 376.2 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-05/0.4107, allocations: 112.9 kB / 1.35 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.67e-05/0.4108, allocations: 105.3 kB / 1.35 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001255/0.4109, allocations: 180.2 kB / 1.35 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001814/0.4111, allocations: 184.3 kB / 1.35 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001319/0.4112, allocations: 188.3 kB / 1.351 GB, free: 10.1 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.88e-05/0.4113, allocations: 184.2 kB / 1.351 GB, free: 9.914 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.4115, allocations: 311.6 kB / 1.351 GB, free: 9.586 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.4115, allocations: 105 kB / 1.351 GB, free: 9.477 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.031e-05/0.4116, allocations: 184.2 kB / 1.351 GB, free: 9.289 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.052e-05/0.4117, allocations: 104.9 kB / 1.351 GB, free: 9.18 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.97e-05/0.4118, allocations: 176.3 kB / 1.352 GB, free: 9 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.136e-05/0.4118, allocations: 104.9 kB / 1.352 GB, free: 8.891 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.76e-05/0.4119, allocations: 83.28 kB / 1.352 GB, free: 8.809 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4119, allocations: 0 / 1.352 GB, free: 8.809 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003058/0.4122, allocations: 0 / 1.352 GB, free: 8.809 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: 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.0005183/0.4127, allocations: 0.8087 MB / 1.353 GB, free: 7.969 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 4.88e-05/0.4128, allocations: 7.938 kB / 1.353 GB, free: 7.961 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.4128, allocations: 0 / 1.353 GB, free: 7.961 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.4128, allocations: 4 kB / 1.353 GB, free: 7.957 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.4132, allocations: 461 kB / 1.353 GB, free: 7.504 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.4146, allocations: 1.532 MB / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.701e-05/0.4147, allocations: 59.34 kB / 1.355 GB, free: 5.816 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.625e-06/0.4147, allocations: 0 / 1.355 GB, free: 5.816 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.4147, allocations: 7.438 kB / 1.355 GB, free: 5.809 MB / 1.045 GB Notification: Performance of SimCode: time 7.92e-07/0.4147, allocations: 0 / 1.355 GB, free: 5.809 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.4367, allocations: 1.064 MB / 1.356 GB, free: 4.895 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.67, allocations: 3.203 kB / 1.356 GB, free: 4.895 MB / 1.045 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.61090979806613]