Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.001452/0.001452, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.0021/0.0021, allocations: 214.6 kB / 22.25 MB, free: 5.078 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.642/1.642, allocations: 230.6 MB / 256 MB, free: 8.008 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.37/3.37, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.Round,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round",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.00237/0.00237, allocations: 73 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4098, allocations: 180.2 MB / 1.353 GB, free: 8.426 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002333/0.4121, allocations: 0.7649 MB / 1.354 GB, free: 7.664 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.4136, allocations: 0.8782 MB / 1.355 GB, free: 6.773 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.687e-05/0.4137, allocations: 0 / 1.355 GB, free: 6.773 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.879e-05/0.4137, allocations: 7.922 kB / 1.355 GB, free: 6.766 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.4138, allocations: 11.86 kB / 1.355 GB, free: 6.754 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.414, allocations: 27.97 kB / 1.355 GB, free: 6.727 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.4141, allocations: 67.89 kB / 1.355 GB, free: 6.66 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.4143, allocations: 19.98 kB / 1.355 GB, free: 6.641 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.4144, allocations: 39.78 kB / 1.355 GB, free: 6.602 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.468e-05/0.4145, allocations: 35.84 kB / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.4145, allocations: 8 kB / 1.355 GB, free: 6.559 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.729e-05/0.4145, allocations: 8 kB / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.965e-05/0.4146, allocations: 11.98 kB / 1.355 GB, free: 6.539 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.445e-05/0.4146, allocations: 35.8 kB / 1.355 GB, free: 6.504 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.4148, allocations: 75.95 kB / 1.355 GB, free: 6.43 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4148, allocations: 0 / 1.355 GB, free: 6.43 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.923e-06/0.4148, allocations: 0 / 1.355 GB, free: 6.43 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.4148, allocations: 0 / 1.355 GB, free: 6.43 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006557/0.4155, allocations: 302 kB / 1.355 GB, free: 6.102 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.4155, allocations: 12.03 kB / 1.355 GB, free: 6.09 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.833e-05/0.4155, allocations: 42.67 kB / 1.355 GB, free: 6.039 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.4156, allocations: 8.891 kB / 1.355 GB, free: 6.031 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.4157, allocations: 122.4 kB / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.4158, allocations: 4.375 kB / 1.355 GB, free: 5.883 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.4158, allocations: 4.375 kB / 1.355 GB, free: 5.879 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.416, allocations: 86.19 kB / 1.355 GB, free: 5.789 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4161, allocations: 3.938 kB / 1.355 GB, free: 5.785 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.4161, allocations: 4 kB / 1.355 GB, free: 5.781 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.4161, allocations: 4 kB / 1.355 GB, free: 5.777 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.4163, allocations: 63.88 kB / 1.355 GB, free: 5.715 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005687/0.4169, allocations: 303.7 kB / 1.356 GB, free: 5.375 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.4171, allocations: 86.56 kB / 1.356 GB, free: 5.281 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.4173, allocations: 36.89 kB / 1.356 GB, free: 5.242 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.4173, allocations: 3.938 kB / 1.356 GB, free: 5.238 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.4173, allocations: 30.56 kB / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.4173, allocations: 0 / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0004929/0.4178, allocations: 133.9 kB / 1.356 GB, free: 5.062 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.4179, allocations: 63.34 kB / 1.356 GB, free: 4.988 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.418, allocations: 121.8 kB / 1.356 GB, free: 4.859 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.418, allocations: 25.7 kB / 1.356 GB, free: 4.828 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.289e-05/0.4181, allocations: 88.08 kB / 1.356 GB, free: 4.738 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.4181, allocations: 23.84 kB / 1.356 GB, free: 4.715 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.4182, allocations: 21.72 kB / 1.356 GB, free: 4.688 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.4183, allocations: 326.8 kB / 1.357 GB, free: 4.359 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.4184, allocations: 28.03 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.4185, allocations: 39.91 kB / 1.357 GB, free: 4.293 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.4187, allocations: 64.81 kB / 1.357 GB, free: 4.227 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4187, allocations: 0 / 1.357 GB, free: 4.227 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002766/0.419, allocations: 105.6 kB / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.419, allocations: 11.98 kB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.419, allocations: 0 / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.419, allocations: 0 / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.4192, allocations: 15.98 kB / 1.357 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.4192, allocations: 0 / 1.357 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.129e-05/0.4193, allocations: 11.92 kB / 1.357 GB, free: 4.078 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.4193, allocations: 0 / 1.357 GB, free: 4.078 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 (6): * Single equations (assignments): 6 * 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.000103/0.4194, allocations: 129.7 kB / 1.357 GB, free: 3.941 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.4194, allocations: 7.953 kB / 1.357 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.4195, allocations: 8.375 kB / 1.357 GB, free: 3.922 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4195, allocations: 0 / 1.357 GB, free: 3.922 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.4195, allocations: 0 / 1.357 GB, free: 3.922 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4195, allocations: 3.984 kB / 1.357 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.4197, allocations: 172.6 kB / 1.357 GB, free: 3.707 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4197, allocations: 0 / 1.357 GB, free: 3.707 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.4198, allocations: 15.98 kB / 1.357 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4198, allocations: 4 kB / 1.357 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.4198, allocations: 0 / 1.357 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4198, allocations: 0 / 1.357 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4198, allocations: 192 / 1.357 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.4202, allocations: 215.3 kB / 1.357 GB, free: 3.461 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.4202, allocations: 7.891 kB / 1.357 GB, free: 3.453 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.4202, allocations: 4 kB / 1.357 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.4203, allocations: 19.92 kB / 1.358 GB, free: 3.43 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.951e-05/0.4204, allocations: 11.98 kB / 1.358 GB, free: 3.418 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.4204, allocations: 0 / 1.358 GB, free: 3.418 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.563e-05/0.4205, allocations: 99.64 kB / 1.358 GB, free: 3.32 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4205, allocations: 0 / 1.358 GB, free: 3.32 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002359/0.4207, allocations: 12 kB / 1.358 GB, free: 3.309 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 (6): * Single equations (assignments): 6 * 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.0006977/0.4214, allocations: 0.7357 MB / 1.358 GB, free: 2.547 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002853/0.4217, allocations: 71.94 kB / 1.358 GB, free: 2.477 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4217, allocations: 0 / 1.358 GB, free: 2.477 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.4218, allocations: 39.97 kB / 1.358 GB, free: 2.438 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.4222, allocations: 12 kB / 1.358 GB, free: 2.426 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.4241, allocations: 1.45 MB / 1.36 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.4245, allocations: 0.6846 MB / 1.361 GB, free: 188 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.409e-05/0.4245, allocations: 11.98 kB / 1.361 GB, free: 176 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.111e-05/0.4246, allocations: 23.42 kB / 1.361 GB, free: 156 kB / 1.045 GB Notification: Performance of SimCode: time 7.61e-07/0.4246, allocations: 0 / 1.361 GB, free: 156 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03048/0.4551, allocations: 2.466 MB / 1.363 GB, free: 13.82 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.62, allocations: 7.281 kB / 1.363 GB, free: 13.82 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.855465737869963]