Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 112 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002085/0.002085, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 249.4 MB, free: 3.285 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.763/2.763, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 71.89 kB / 1.107 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9676/0.9695, allocations: 168.7 MB / 1.272 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001906/0.9714, allocations: 0.7756 MB / 1.272 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009446/0.9724, allocations: 0.8432 MB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.982e-05/0.9724, allocations: 0.8125 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.9724, allocations: 13.8 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.81e-05/0.9725, allocations: 13.12 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.9727, allocations: 29.75 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.9728, allocations: 67.61 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.9729, allocations: 20.67 kB / 1.273 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.94e-05/0.973, allocations: 32.05 kB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.995e-05/0.9731, allocations: 35.95 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.9731, allocations: 7.062 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.591e-05/0.9731, allocations: 6.5 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.693e-05/0.9731, allocations: 14.98 kB / 1.273 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.832e-05/0.9732, allocations: 36.8 kB / 1.273 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.9733, allocations: 83.11 kB / 1.274 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.9733, allocations: 0.6562 kB / 1.274 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9733, allocations: 0 / 1.274 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.9733, allocations: 1.125 kB / 1.274 GB, free: 6.359 MB / 0.9981 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.0004952/0.9738, allocations: 371.2 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.9739, allocations: 9.25 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.981e-05/0.9739, allocations: 38.3 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.9739, allocations: 9.047 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.481e-05/0.974, allocations: 174.5 kB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.974, allocations: 14.75 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.9741, allocations: 4.391 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.9743, allocations: 82.27 kB / 1.274 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.9743, allocations: 4.688 kB / 1.274 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.9743, allocations: 5 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.9743, allocations: 0.6875 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002445/0.9746, allocations: 65.11 kB / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.975, allocations: 330.6 kB / 1.275 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.9752, allocations: 85.72 kB / 1.275 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.9753, allocations: 36.8 kB / 1.275 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.9754, allocations: 0.9688 kB / 1.275 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.9754, allocations: 35.53 kB / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.9754, allocations: 0 / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0004733/0.9759, allocations: 142.3 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.9759, allocations: 52.19 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.529e-05/0.976, allocations: 118.2 kB / 1.275 GB, free: 5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.976, allocations: 29.91 kB / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.314e-05/0.976, allocations: 98.31 kB / 1.275 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.976, allocations: 20.48 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.9761, allocations: 22.55 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.94e-05/0.9761, allocations: 320.5 kB / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.9762, allocations: 26.67 kB / 1.276 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.9764, allocations: 30.39 kB / 1.276 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.9766, allocations: 76.5 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.9766, allocations: 0 / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003085/0.9769, allocations: 108 kB / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.9769, allocations: 9.75 kB / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.9769, allocations: 0 / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.977, allocations: 0.9375 kB / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.9771, allocations: 15.25 kB / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.9771, allocations: 5.094 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.536e-05/0.9772, allocations: 7.344 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.9772, allocations: 1.562 kB / 1.276 GB, free: 4.41 MB / 0.9981 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 7.611e-05/0.9773, allocations: 117.5 kB / 1.276 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.9773, allocations: 7.547 kB / 1.276 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.9774, allocations: 10.33 kB / 1.276 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.9774, allocations: 3.906 kB / 1.276 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.9774, allocations: 1.438 kB / 1.276 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.9774, allocations: 4 kB / 1.276 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.9776, allocations: 196.8 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.9776, allocations: 4.844 kB / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.9777, allocations: 20.02 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.9777, allocations: 1.312 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.9777, allocations: 0.9375 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.9777, allocations: 1.031 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.9777, allocations: 0 / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.9781, allocations: 207.6 kB / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.456e-05/0.9781, allocations: 84.27 kB / 1.276 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.9781, allocations: 0.9062 kB / 1.276 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.9782, allocations: 10.58 kB / 1.276 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.869e-05/0.9783, allocations: 11.86 kB / 1.276 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.9783, allocations: 2.672 kB / 1.276 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.445e-05/0.9784, allocations: 103.3 kB / 1.277 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9784, allocations: 0 / 1.277 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002405/0.9786, allocations: 21.94 kB / 1.277 GB, free: 3.688 MB / 0.9981 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.0006035/0.9792, allocations: 0.7373 MB / 1.277 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003253/0.9796, allocations: 77.28 kB / 1.277 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.9796, allocations: 4.781 kB / 1.277 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.9797, allocations: 39.33 kB / 1.277 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.9801, allocations: 7.375 kB / 1.277 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.9818, allocations: 1.465 MB / 1.279 GB, free: 17.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.9821, allocations: 0.692 MB / 1.279 GB, free: 17 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.489e-05/0.9822, allocations: 9.922 kB / 1.279 GB, free: 16.99 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.788e-05/0.9822, allocations: 24.25 kB / 1.28 GB, free: 16.98 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/0.9822, allocations: 4 kB / 1.28 GB, free: 16.97 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/1.007, allocations: 2.315 MB / 1.282 GB, free: 16.57 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.262/9.27, allocations: 8.312 kB / 1.282 GB, free: 16.57 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Round_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Round.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,round1.u,round1.y,round2.u,round2.y,round3.u,round3.y Variables in the result:gai.k,gai.u,gai.y,gai1.k,gai1.u,gai1.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,round1.n,round1.u,round1.y,round2.n,round2.u,round2.y,round3.n,round3.u,round3.y,time [Calling sys.exit(0), Time elapsed: 15.9280279490049]