Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009907/0.0009907, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001178/0.002169, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007049/0.0007049, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008925/0.001597, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9302/0.9302, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08906/1.019, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.821/1.821, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.52/2.341, allocations: 123.3 MB / 0.728 GB, free: 5.816 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.7294 GB, free: 4.465 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.932e-05, allocations: 8.781 kB / 0.7294 GB, free: 4.457 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001714/0.001733, allocations: 0.8116 MB / 0.7302 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.00277, allocations: 0.889 MB / 0.7311 GB, free: 2.773 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.671e-05/0.002807, allocations: 0 / 0.7311 GB, free: 2.773 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.002836, allocations: 6.469 kB / 0.7311 GB, free: 2.77 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.425e-05/0.00289, allocations: 6.672 kB / 0.7311 GB, free: 2.766 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 8.818e-05/0.002978, allocations: 39.83 kB / 0.7311 GB, free: 2.727 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.003094, allocations: 68.27 kB / 0.7312 GB, free: 2.668 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.003196, allocations: 16 kB / 0.7312 GB, free: 2.652 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.003316, allocations: 57.81 kB / 0.7312 GB, free: 2.602 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.177e-05/0.003387, allocations: 27.36 kB / 0.7313 GB, free: 2.578 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.003415, allocations: 4 kB / 0.7313 GB, free: 2.574 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.36e-05/0.003429, allocations: 8 kB / 0.7313 GB, free: 2.566 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.00345, allocations: 11.5 kB / 0.7313 GB, free: 2.559 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.003484, allocations: 15.56 kB / 0.7313 GB, free: 2.547 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.003602, allocations: 63.14 kB / 0.7314 GB, free: 2.488 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.555e-05/0.003618, allocations: 0 / 0.7314 GB, free: 2.488 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.01e-07/0.003618, allocations: 0 / 0.7314 GB, free: 2.488 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.798e-05/0.003636, allocations: 0 / 0.7314 GB, free: 2.488 MB / 0.698 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.000466/0.004102, allocations: 277 kB / 0.7316 GB, free: 2.191 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.004139, allocations: 12.72 kB / 0.7316 GB, free: 2.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.004175, allocations: 8.938 kB / 0.7316 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.004284, allocations: 123.4 kB / 0.7318 GB, free: 2.027 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.004303, allocations: 384 / 0.7318 GB, free: 2.027 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.004317, allocations: 8.359 kB / 0.7318 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.004468, allocations: 74.86 kB / 0.7318 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.004475, allocations: 1.25 kB / 0.7318 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.004485, allocations: 4.375 kB / 0.7318 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.004492, allocations: 4.375 kB / 0.7319 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.288e-05/0.004544, allocations: 20.42 kB / 0.7319 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002969/0.004841, allocations: 185.1 kB / 0.732 GB, free: 1.715 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.004944, allocations: 47.3 kB / 0.7321 GB, free: 1.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.26e-05/0.004977, allocations: 13.73 kB / 0.7321 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.00499, allocations: 0 / 0.7321 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.005013, allocations: 35.31 kB / 0.7321 GB, free: 1.602 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.005014, allocations: 0 / 0.7321 GB, free: 1.602 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0001649/0.005179, allocations: 66.23 kB / 0.7322 GB, free: 1.531 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.00521, allocations: 57.28 kB / 0.7323 GB, free: 1.465 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.136e-05/0.005282, allocations: 118.7 kB / 0.7324 GB, free: 1.336 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.005293, allocations: 25.7 kB / 0.7324 GB, free: 1.305 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.005327, allocations: 92.08 kB / 0.7325 GB, free: 1.211 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.005354, allocations: 27.78 kB / 0.7325 GB, free: 1.184 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.005393, allocations: 22.36 kB / 0.7325 GB, free: 1.156 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.943e-05/0.005482, allocations: 322.8 kB / 0.7328 GB, free: 0.832 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.056e-05/0.005503, allocations: 4.75 kB / 0.7328 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.896e-05/0.005522, allocations: 4 kB / 0.7328 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.589e-05/0.005577, allocations: 33.88 kB / 0.7329 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.00558, allocations: 0 / 0.7329 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.173e-05/0.005661, allocations: 46.41 kB / 0.7329 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.005675, allocations: 11.39 kB / 0.7329 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.005681, allocations: 7.938 kB / 0.7329 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.00569, allocations: 0.9375 kB / 0.7329 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.005797, allocations: 15.92 kB / 0.733 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.0058, allocations: 8.859 kB / 0.733 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.609e-05/0.005836, allocations: 4 kB / 0.733 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.005844, allocations: 5.781 kB / 0.733 GB, free: 0.6914 MB / 0.698 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 5.451e-05/0.005898, allocations: 105.8 kB / 0.7331 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.005924, allocations: 7.984 kB / 0.7331 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.673e-05/0.005951, allocations: 12.38 kB / 0.7331 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.005954, allocations: 5.438 kB / 0.7331 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.005956, allocations: 0 / 0.7331 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.005958, allocations: 0 / 0.7331 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.006092, allocations: 81.88 kB / 0.7332 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006093, allocations: 0.75 kB / 0.7332 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.966e-05/0.006163, allocations: 20.41 kB / 0.7332 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.264e-05/0.006176, allocations: 12.86 kB / 0.7332 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.006178, allocations: 0 / 0.7332 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.006186, allocations: 7.938 kB / 0.7332 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.006187, allocations: 0.75 kB / 0.7332 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.006188, allocations: 0 / 0.7332 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.006306, allocations: 152.2 kB / 0.7334 GB, free: 256 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.006318, allocations: 4.562 kB / 0.7334 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.343e-05/0.006382, allocations: 0 / 0.7334 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.006433, allocations: 21.06 kB / 0.7334 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.00644, allocations: 4 kB / 0.7334 GB, free: 228 kB / 0.698 GB Notification: Performance of sorting global known variables: time 2.323e-05/0.006463, allocations: 29.2 kB / 0.7334 GB, free: 196 kB / 0.698 GB Notification: Performance of sort global known variables: time 9.1e-08/0.006463, allocations: 1.031 kB / 0.7334 GB, free: 196 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001903/0.006653, allocations: 8 kB / 0.7334 GB, free: 188 kB / 0.698 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 7.411e-05/0.006727, allocations: 78.2 kB / 0.7335 GB, free: 104 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.226e-05/0.00682, allocations: 32.78 kB / 0.7335 GB, free: 68 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.006826, allocations: 4 kB / 0.7335 GB, free: 64 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.278e-05/0.006869, allocations: 22.06 kB / 0.7336 GB, free: 40 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.007059, allocations: 15.98 kB / 0.7336 GB, free: 24 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.007571, allocations: 173.6 kB / 0.7337 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.852e-05/0.00761, allocations: 63.34 kB / 0.7338 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.558e-05/0.007655, allocations: 11.91 kB / 0.7338 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.821e-05/0.007734, allocations: 63.36 kB / 0.7339 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of SimCode: time 6.52e-07/0.007734, allocations: 0 / 0.7339 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of Templates: time 0.003472/0.01121, allocations: 1.404 MB / 0.7352 GB, free: 14.34 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.817766025662422]