Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.00186/0.00186, 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.001791/0.001791, allocations: 215.9 kB / 23.02 MB, free: 4.945 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.597/1.597, allocations: 230.6 MB / 256.8 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.477/3.477, 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.Reals.Validation.Cos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",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.002071/0.002071, allocations: 66.91 kB / 1.171 GB, free: 19.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4026, allocations: 179 MB / 1.345 GB, free: 15.89 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002281/0.4048, allocations: 0.6698 MB / 1.346 GB, free: 15.23 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.4061, allocations: 0.8513 MB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.179e-05/0.4061, allocations: 0 / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.4061, allocations: 0 / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.579e-05/0.4062, allocations: 11.92 kB / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.4064, allocations: 11.98 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.911e-05/0.4065, allocations: 23.92 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.439e-05/0.4066, allocations: 4 kB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.84e-05/0.4067, allocations: 8 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.78e-05/0.4067, allocations: 11.92 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.4067, allocations: 4 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.552e-05/0.4068, allocations: 8 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.4068, allocations: 3.984 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.4068, allocations: 15.86 kB / 1.347 GB, free: 14.26 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.4069, allocations: 28.12 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4069, allocations: 4 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4069, allocations: 0 / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.4069, allocations: 0 / 1.347 GB, free: 14.23 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004512/0.4074, allocations: 262.3 kB / 1.347 GB, free: 13.94 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.4074, allocations: 8.031 kB / 1.347 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.945e-05/0.4074, allocations: 4.188 kB / 1.347 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.37e-05/0.4075, allocations: 34.75 kB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.481e-05/0.4076, allocations: 4.938 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.4077, allocations: 114.5 kB / 1.347 GB, free: 13.75 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.4077, allocations: 384 / 1.347 GB, free: 13.75 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.4077, allocations: 4.375 kB / 1.347 GB, free: 13.74 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.4079, allocations: 53.98 kB / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.4079, allocations: 0 / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.4079, allocations: 4 kB / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4079, allocations: 3.938 kB / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.4081, allocations: 27.97 kB / 1.347 GB, free: 13.65 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.4084, allocations: 223.9 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.4086, allocations: 38.56 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.922e-05/0.4086, allocations: 16.91 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.4087, allocations: 0 / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.4087, allocations: 46.48 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.4087, allocations: 0 / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003608/0.4091, allocations: 69.66 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.4091, allocations: 59.52 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.666e-05/0.4092, allocations: 101.9 kB / 1.348 GB, free: 13.01 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.4092, allocations: 29.64 kB / 1.348 GB, free: 12.98 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/0.4093, allocations: 80.14 kB / 1.348 GB, free: 12.89 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.4093, allocations: 7.953 kB / 1.348 GB, free: 12.89 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.4093, allocations: 17.7 kB / 1.348 GB, free: 12.86 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.4094, allocations: 314.8 kB / 1.348 GB, free: 12.55 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.509e-05/0.4095, allocations: 19.98 kB / 1.348 GB, free: 12.53 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.123e-05/0.4096, allocations: 11.98 kB / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.4098, allocations: 52.75 kB / 1.348 GB, free: 12.46 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4098, allocations: 0 / 1.348 GB, free: 12.46 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001976/0.41, allocations: 69.81 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.41, allocations: 7.984 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.41, allocations: 0 / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.41, allocations: 3.984 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.675e-05/0.4101, allocations: 12.03 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.4101, allocations: 0 / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.884e-05/0.4101, allocations: 7.984 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-06/0.4101, allocations: 0 / 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 (2): * Single equations (assignments): 2 * 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 7.989e-05/0.4102, allocations: 109.8 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.4102, allocations: 4 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.4105, allocations: 72.91 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.4105, allocations: 4.016 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4105, allocations: 4 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.4105, allocations: 4 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.4106, allocations: 128.7 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4107, allocations: 0 / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.925e-05/0.4107, allocations: 7.984 kB / 1.349 GB, free: 11.97 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.4107, allocations: 0 / 1.349 GB, free: 11.97 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.4107, allocations: 4 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4107, allocations: 0 / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4107, allocations: 0 / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.411, allocations: 175.4 kB / 1.349 GB, free: 11.78 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-06/0.411, allocations: 3.953 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.411, allocations: 3.984 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-05/0.4111, allocations: 4 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.4111, allocations: 7.984 kB / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.4111, allocations: 0 / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.695e-05/0.4112, allocations: 83.28 kB / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4112, allocations: 0 / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002172/0.4114, allocations: 4 kB / 1.349 GB, free: 11.67 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 (2): * Single equations (assignments): 2 * 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.0005975/0.412, allocations: 0.6929 MB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002102/0.4122, allocations: 47.83 kB / 1.35 GB, free: 10.9 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.4122, allocations: 0 / 1.35 GB, free: 10.9 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.893e-05/0.4123, allocations: 11.98 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.4126, allocations: 12.16 kB / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004885/0.4131, allocations: 139.9 kB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.905e-05/0.4131, allocations: 59.34 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.315e-05/0.4131, allocations: 3.938 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.4132, allocations: 11.44 kB / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of SimCode: time 5.21e-07/0.4132, allocations: 0 / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/0.4356, allocations: 1.449 MB / 1.352 GB, free: 9.305 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.72, allocations: 21.23 kB / 1.352 GB, free: 9.289 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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: 19.27948522893712]