Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.001958/0.001958, 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.002302/0.002302, allocations: 213.2 kB / 22.24 MB, free: 5.258 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.511/1.511, 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.412/3.412, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 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.Utilities.Validation.Assert,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",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.00218/0.00218, allocations: 65.53 kB / 1.186 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3962, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002384/0.3986, allocations: 0.5934 MB / 1.364 GB, free: 13.51 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001764/0.4003, allocations: 1.132 MB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.721e-05/0.4004, allocations: 0 / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.143e-05/0.4004, allocations: 0 / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.136e-05/0.4005, allocations: 7.938 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005457/0.401, allocations: 126.2 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.4012, allocations: 83.89 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.81e-05/0.4013, allocations: 4 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.207e-05/0.4014, allocations: 43.89 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.4015, allocations: 23.91 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.969e-05/0.4015, allocations: 8 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.001e-05/0.4016, allocations: 23.92 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.4016, allocations: 7.984 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.036e-05/0.4017, allocations: 23.92 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.4019, allocations: 84.06 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.4019, allocations: 4 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.557e-06/0.4019, allocations: 4 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.4019, allocations: 0 / 1.365 GB, free: 11.93 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005083/0.4024, allocations: 296 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.4024, allocations: 12.03 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.4025, allocations: 30.75 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.4025, allocations: 8.875 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.4027, allocations: 106.5 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.4027, allocations: 384 / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.4027, allocations: 12.34 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.4029, allocations: 63.97 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4029, allocations: 11.88 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.4029, allocations: 0 / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.4029, allocations: 0 / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.654e-05/0.4029, allocations: 7.984 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.4033, allocations: 236 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.688e-05/0.4034, allocations: 30.45 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.776e-05/0.4034, allocations: 8.922 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.4034, allocations: 0 / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.4036, allocations: 92.98 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.4036, allocations: 4 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002041/0.4038, allocations: 61.67 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.4039, allocations: 55.41 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.927e-05/0.404, allocations: 101.9 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.404, allocations: 33.69 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/0.4041, allocations: 88.08 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.4041, allocations: 3.953 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.89e-05/0.4042, allocations: 29.7 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.4043, allocations: 318.8 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.4044, allocations: 61.92 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.4046, allocations: 80.27 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.4047, allocations: 88.14 kB / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4047, allocations: 0 / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002958/0.405, allocations: 184.9 kB / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.854e-05/0.405, allocations: 33.7 kB / 1.367 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.405, allocations: 0 / 1.367 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.405, allocations: 0 / 1.367 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.068e-05/0.4051, allocations: 4 kB / 1.367 GB, free: 9.637 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4051, allocations: 0 / 1.367 GB, free: 9.637 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.4053, allocations: 32 kB / 1.367 GB, free: 9.605 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.4053, allocations: 11.98 kB / 1.367 GB, free: 9.594 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001196/0.4054, allocations: 117.8 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.62e-05/0.4054, allocations: 3.938 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.286e-05/0.4055, allocations: 8 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.4055, allocations: 0 / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4055, allocations: 4 kB / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.4055, allocations: 3.984 kB / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.4056, allocations: 128.7 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4056, allocations: 4.234 kB / 1.368 GB, free: 9.266 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.676e-06/0.4056, allocations: 4 kB / 1.368 GB, free: 9.262 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4056, allocations: 0 / 1.368 GB, free: 9.262 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.4057, allocations: 0 / 1.368 GB, free: 9.262 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4057, allocations: 0 / 1.368 GB, free: 9.262 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.4057, allocations: 7.922 kB / 1.368 GB, free: 9.254 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.4058, allocations: 86.08 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-06/0.4058, allocations: 0 / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.4058, allocations: 7.984 kB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.57e-05/0.4058, allocations: 0 / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.4058, allocations: 3.938 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.4059, allocations: 8 kB / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.956e-05/0.4059, allocations: 91.33 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4059, allocations: 0 / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002134/0.4061, allocations: 12 kB / 1.368 GB, free: 9.031 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 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004762/0.4066, allocations: 0.624 MB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000248/0.4069, allocations: 133.1 kB / 1.369 GB, free: 8.23 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4069, allocations: 0 / 1.369 GB, free: 8.23 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.249e-05/0.4069, allocations: 15.94 kB / 1.369 GB, free: 8.215 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.4071, allocations: 20.09 kB / 1.369 GB, free: 8.195 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.4089, allocations: 1.481 MB / 1.37 GB, free: 6.59 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.843e-05/0.409, allocations: 63.34 kB / 1.37 GB, free: 6.508 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.619e-05/0.409, allocations: 4 kB / 1.37 GB, free: 6.504 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.409, allocations: 11.44 kB / 1.37 GB, free: 6.492 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/0.409, allocations: 0 / 1.37 GB, free: 6.492 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03114/0.4402, allocations: 2.593 MB / 1.373 GB, free: 4.059 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.76, allocations: 6.391 kB / 1.373 GB, free: 4.055 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.796552383340895]