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.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.0007455/0.0007455, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008638/0.0008638, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8701/0.8701, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.646/1.646, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 0.9518 GB, free: 2.941 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.21e-05/3.476e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.00137/0.001405, allocations: 0.7494 MB / 0.9525 GB, free: 2.18 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008142/0.002219, allocations: 0.8548 MB / 0.9534 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.17e-05/0.002261, allocations: 4 kB / 0.9534 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.138e-05/0.002292, allocations: 7.875 kB / 0.9534 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.625e-05/0.002369, allocations: 15.84 kB / 0.9534 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.002526, allocations: 23.97 kB / 0.9534 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.053e-05/0.002616, allocations: 71.84 kB / 0.9535 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.002737, allocations: 23.91 kB / 0.9535 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.5e-05/0.002822, allocations: 39.91 kB / 0.9535 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.927e-05/0.002881, allocations: 39.88 kB / 0.9536 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.002909, allocations: 8 kB / 0.9536 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.928e-06/0.002919, allocations: 4 kB / 0.9536 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.002939, allocations: 15.92 kB / 0.9536 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.002974, allocations: 19.92 kB / 0.9536 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.003093, allocations: 79.8 kB / 0.9537 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003095, allocations: 0 / 0.9537 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.302e-06/0.003097, allocations: 4 kB / 0.9537 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.003101, allocations: 0 / 0.9537 GB, free: 0.9609 MB / 0.9011 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.0004295/0.00353, allocations: 304.1 kB / 0.954 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.003569, allocations: 8.031 kB / 0.954 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.003603, allocations: 12.83 kB / 0.954 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.003708, allocations: 125.7 kB / 0.9541 GB, free: 476 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.003724, allocations: 4.375 kB / 0.9541 GB, free: 472 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.003735, allocations: 4.375 kB / 0.9541 GB, free: 468 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.003888, allocations: 86.08 kB / 0.9542 GB, free: 376 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.003896, allocations: 4.188 kB / 0.9542 GB, free: 372 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.00391, allocations: 4.375 kB / 0.9542 GB, free: 368 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.003914, allocations: 4.375 kB / 0.9542 GB, free: 364 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.004048, allocations: 67.88 kB / 0.9543 GB, free: 296 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.00438, allocations: 248.5 kB / 0.9545 GB, free: 16 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.004548, allocations: 86.47 kB / 0.9546 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.063e-05/0.004619, allocations: 40.92 kB / 0.9547 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.004637, allocations: 7.938 kB / 0.9547 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.004656, allocations: 30.56 kB / 0.9547 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.004657, allocations: 0 / 0.9547 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6): time 0.0002971/0.004954, allocations: 133.6 kB / 0.9548 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.004984, allocations: 55.34 kB / 0.9549 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.484e-05/0.005059, allocations: 125.8 kB / 0.955 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.005072, allocations: 33.7 kB / 0.955 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.005114, allocations: 92.08 kB / 0.9551 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.005139, allocations: 23.84 kB / 0.9551 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.005169, allocations: 17.72 kB / 0.9552 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.746e-05/0.005246, allocations: 318.8 kB / 0.9555 GB, free: 15 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.538e-05/0.005312, allocations: 31.97 kB / 0.9555 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.752e-05/0.005369, allocations: 32.34 kB / 0.9555 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.00549, allocations: 68.81 kB / 0.9556 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.005492, allocations: 4 kB / 0.9556 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001564/0.005649, allocations: 105.5 kB / 0.9557 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.005663, allocations: 11.98 kB / 0.9557 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.005668, allocations: 0 / 0.9557 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.005681, allocations: 0 / 0.9557 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.117e-05/0.005772, allocations: 19.98 kB / 0.9557 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.005778, allocations: 0 / 0.9557 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.751e-05/0.005815, allocations: 11.92 kB / 0.9557 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.005821, allocations: 4 kB / 0.9557 GB, free: 14.7 MB / 0.9167 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 6.05e-05/0.005882, allocations: 113.8 kB / 0.9558 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.005898, allocations: 11.89 kB / 0.9559 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.963e-05/0.005918, allocations: 8.438 kB / 0.9559 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.00592, allocations: 0 / 0.9559 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.005924, allocations: 4 kB / 0.9559 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.005928, allocations: 3.984 kB / 0.9559 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.006031, allocations: 121.3 kB / 0.956 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.006033, allocations: 4 kB / 0.956 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.241e-05/0.006085, allocations: 23.91 kB / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.006088, allocations: 7.938 kB / 0.956 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.006095, allocations: 4 kB / 0.956 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.006096, allocations: 3.938 kB / 0.956 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.006097, allocations: 0 / 0.956 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.006283, allocations: 203.5 kB / 0.9562 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.769e-06/0.006293, allocations: 7.891 kB / 0.9562 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.006307, allocations: 7.938 kB / 0.9562 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.978e-05/0.006357, allocations: 7.984 kB / 0.9562 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.006408, allocations: 11.97 kB / 0.9563 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.006412, allocations: 8 kB / 0.9563 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.775e-05/0.00645, allocations: 99.27 kB / 0.9564 GB, free: 14 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.00645, allocations: 0 / 0.9564 GB, free: 14 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001492/0.006599, allocations: 8 kB / 0.9564 GB, free: 14 MB / 0.9167 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 9.47e-05/0.006694, allocations: 99.19 kB / 0.9565 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001767/0.006871, allocations: 67.94 kB / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.006872, allocations: 0 / 0.9565 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.88e-05/0.006941, allocations: 43.97 kB / 0.9566 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.007166, allocations: 8 kB / 0.9566 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003341/0.007501, allocations: 202.9 kB / 0.9568 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.809e-05/0.007549, allocations: 67.34 kB / 0.9568 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.381e-05/0.007592, allocations: 16.48 kB / 0.9568 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of SimCode: time 6.81e-07/0.007593, allocations: 0 / 0.9568 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of Templates: time 0.001838/0.009431, allocations: 1.094 MB / 0.9579 GB, free: 12.36 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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] Reference file matches [Calling sys.exit(0), Time elapsed: 6.154143054969609]