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.0008103/0.0008103, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001237/0.002048, allocations: 449.8 kB / 10.44 MB, free: 252 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.001187/0.001187, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001672/0.00286, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.03/1.03, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1005/1.13, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.925/1.925, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5227/2.448, allocations: 123.3 MB / 0.7283 GB, free: 5.734 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.324e-06/2.324e-06, allocations: 0 / 0.7297 GB, free: 4.352 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.561e-05, allocations: 4.562 kB / 0.7297 GB, free: 4.348 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001535/0.001561, allocations: 0.8033 MB / 0.7305 GB, free: 3.574 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008002/0.002361, allocations: 0.8864 MB / 0.7314 GB, free: 2.68 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.336e-05/0.002404, allocations: 4.656 kB / 0.7314 GB, free: 2.676 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.012e-05/0.002434, allocations: 11.86 kB / 0.7314 GB, free: 2.664 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.13e-05/0.002486, allocations: 6.453 kB / 0.7314 GB, free: 2.66 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.262e-05/0.002578, allocations: 31.89 kB / 0.7314 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.00269, allocations: 74.91 kB / 0.7315 GB, free: 2.566 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.002793, allocations: 15.98 kB / 0.7315 GB, free: 2.551 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.002911, allocations: 52.66 kB / 0.7316 GB, free: 2.504 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.332e-05/0.002985, allocations: 31.12 kB / 0.7316 GB, free: 2.477 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.003015, allocations: 8 kB / 0.7316 GB, free: 2.469 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.452e-05/0.00303, allocations: 8 kB / 0.7316 GB, free: 2.461 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.762e-05/0.003057, allocations: 15.17 kB / 0.7316 GB, free: 2.449 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.636e-05/0.003084, allocations: 15.94 kB / 0.7316 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.003189, allocations: 49.22 kB / 0.7317 GB, free: 2.387 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.347e-05/0.003202, allocations: 0 / 0.7317 GB, free: 2.387 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.183e-06/0.003203, allocations: 0 / 0.7317 GB, free: 2.387 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.482e-05/0.003218, allocations: 0 / 0.7317 GB, free: 2.387 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.0004521/0.00367, allocations: 281 kB / 0.7319 GB, free: 2.086 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.003706, allocations: 8.938 kB / 0.732 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.003743, allocations: 16.86 kB / 0.732 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.003866, allocations: 114.3 kB / 0.7321 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.00389, allocations: 12.31 kB / 0.7321 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.003904, allocations: 5.25 kB / 0.7321 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.004039, allocations: 75.47 kB / 0.7322 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.004047, allocations: 192 / 0.7322 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.004055, allocations: 1.031 kB / 0.7322 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.00406, allocations: 384 / 0.7322 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.558e-05/0.004096, allocations: 20.61 kB / 0.7322 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.004369, allocations: 185.2 kB / 0.7324 GB, free: 1.613 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.006e-05/0.004459, allocations: 51.59 kB / 0.7324 GB, free: 1.555 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.345e-05/0.004482, allocations: 12.86 kB / 0.7324 GB, free: 1.539 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.004496, allocations: 5.703 kB / 0.7324 GB, free: 1.535 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.004519, allocations: 34.56 kB / 0.7325 GB, free: 1.492 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.00452, allocations: 0 / 0.7325 GB, free: 1.492 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0001426/0.004663, allocations: 65.66 kB / 0.7325 GB, free: 1.422 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.00469, allocations: 56.16 kB / 0.7326 GB, free: 1.355 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.367e-05/0.004754, allocations: 126.6 kB / 0.7327 GB, free: 1.219 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.004765, allocations: 26.2 kB / 0.7327 GB, free: 1.188 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.92e-05/0.004804, allocations: 97.75 kB / 0.7328 GB, free: 1.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.004826, allocations: 19.8 kB / 0.7328 GB, free: 1.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.004861, allocations: 25.69 kB / 0.7329 GB, free: 1.039 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.068e-05/0.004941, allocations: 310.8 kB / 0.7332 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.975e-05/0.004961, allocations: 7.984 kB / 0.7332 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.594e-05/0.004977, allocations: 8.875 kB / 0.7332 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.22e-05/0.005019, allocations: 25.95 kB / 0.7332 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.005021, allocations: 0 / 0.7332 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.136e-05/0.005092, allocations: 61.61 kB / 0.7333 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.005107, allocations: 9.688 kB / 0.7333 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.005112, allocations: 0 / 0.7333 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.005125, allocations: 0 / 0.7333 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.472e-05/0.005219, allocations: 15.98 kB / 0.7333 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.005222, allocations: 1.219 kB / 0.7333 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.758e-05/0.005249, allocations: 4 kB / 0.7333 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.005255, allocations: 3.984 kB / 0.7333 GB, free: 0.5859 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 6.155e-05/0.005316, allocations: 114.5 kB / 0.7334 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/0.005332, allocations: 4 kB / 0.7334 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.414e-05/0.005356, allocations: 13.5 kB / 0.7334 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.005358, allocations: 0 / 0.7334 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.00536, allocations: 448 / 0.7334 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.005364, allocations: 4.516 kB / 0.7334 GB, free: 452 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.904e-05/0.005463, allocations: 82.41 kB / 0.7335 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.005465, allocations: 7.938 kB / 0.7335 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.247e-05/0.005517, allocations: 17.02 kB / 0.7335 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.007e-05/0.005527, allocations: 7.891 kB / 0.7335 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.005529, allocations: 4.531 kB / 0.7335 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.005536, allocations: 13.48 kB / 0.7336 GB, free: 304 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.005537, allocations: 0 / 0.7336 GB, free: 304 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.005538, allocations: 0 / 0.7336 GB, free: 304 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.005649, allocations: 143.5 kB / 0.7337 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.005658, allocations: 5.203 kB / 0.7337 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.221e-05/0.005701, allocations: 8 kB / 0.7337 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.005744, allocations: 15.92 kB / 0.7337 GB, free: 116 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.005748, allocations: 1.062 kB / 0.7337 GB, free: 116 kB / 0.698 GB Notification: Performance of sorting global known variables: time 2.201e-05/0.00577, allocations: 24.77 kB / 0.7337 GB, free: 88 kB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.00577, allocations: 0 / 0.7337 GB, free: 88 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001192/0.005889, allocations: 17 kB / 0.7338 GB, free: 72 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 9.97e-05/0.005989, allocations: 76.91 kB / 0.7338 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.321e-05/0.006072, allocations: 29.59 kB / 0.7339 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.006077, allocations: 0 / 0.7339 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.153e-05/0.006119, allocations: 29.59 kB / 0.7339 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.006287, allocations: 42.44 kB / 0.7339 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004257/0.006712, allocations: 173.7 kB / 0.7341 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.747e-05/0.00675, allocations: 67.28 kB / 0.7342 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.758e-05/0.006788, allocations: 10.44 kB / 0.7342 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.058e-05/0.006858, allocations: 59.36 kB / 0.7342 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of SimCode: time 5.81e-07/0.006859, allocations: 1.25 kB / 0.7342 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of Templates: time 0.002843/0.009701, allocations: 1.299 MB / 0.7355 GB, free: 14.29 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.954015896655619]