Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.0007824/0.0007824, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001131/0.001913, 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.0006945/0.0006945, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008929/0.001587, 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 0.9872/0.9872, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1009/1.088, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.888/1.888, allocations: 378.4 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5312/2.419, allocations: 123.3 MB / 0.7283 GB, free: 5.719 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.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.7297 GB, free: 4.406 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097e-05/1.251e-05, allocations: 4.094 kB / 0.7297 GB, free: 4.402 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001254/0.001267, allocations: 0.8741 MB / 0.7305 GB, free: 3.562 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 8.082e-05/0.001348, allocations: 45.78 kB / 0.7306 GB, free: 3.52 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.701e-05/0.001385, allocations: 4 kB / 0.7306 GB, free: 3.516 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.001414, allocations: 8.531 kB / 0.7306 GB, free: 3.508 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.152e-05/0.001455, allocations: 9.688 kB / 0.7306 GB, free: 3.5 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.532e-05/0.001491, allocations: 19.97 kB / 0.7306 GB, free: 3.48 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.001592, allocations: 65.31 kB / 0.7307 GB, free: 3.426 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.503e-05/0.001687, allocations: 29.56 kB / 0.7307 GB, free: 3.398 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.222e-05/0.001769, allocations: 50.39 kB / 0.7307 GB, free: 3.355 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.376e-05/0.001813, allocations: 16.53 kB / 0.7307 GB, free: 3.344 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.001833, allocations: 9.344 kB / 0.7308 GB, free: 3.336 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.594e-06/0.00184, allocations: 4 kB / 0.7308 GB, free: 3.332 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.001862, allocations: 13.03 kB / 0.7308 GB, free: 3.32 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.104e-05/0.001883, allocations: 12.56 kB / 0.7308 GB, free: 3.309 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.706e-05/0.00197, allocations: 35.8 kB / 0.7308 GB, free: 3.273 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.205e-05/0.001982, allocations: 4.719 kB / 0.7308 GB, free: 3.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.02e-07/0.001983, allocations: 0 / 0.7308 GB, free: 3.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.529e-05/0.001998, allocations: 8.562 kB / 0.7308 GB, free: 3.262 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003716/0.00237, allocations: 293.2 kB / 0.7311 GB, free: 2.949 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.002401, allocations: 8.031 kB / 0.7311 GB, free: 2.941 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.002437, allocations: 12.94 kB / 0.7311 GB, free: 2.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.002576, allocations: 134.4 kB / 0.7313 GB, free: 2.773 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.002586, allocations: 8.375 kB / 0.7313 GB, free: 2.766 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.0026, allocations: 9.781 kB / 0.7313 GB, free: 2.758 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.406e-05/0.002694, allocations: 80.8 kB / 0.7314 GB, free: 2.668 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.002701, allocations: 192 / 0.7314 GB, free: 2.668 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.002709, allocations: 8.375 kB / 0.7314 GB, free: 2.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.002715, allocations: 0.9062 kB / 0.7314 GB, free: 2.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.065e-05/0.002746, allocations: 29.34 kB / 0.7314 GB, free: 2.633 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.003093, allocations: 0.4973 MB / 0.7319 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.588e-05/0.003159, allocations: 173.1 kB / 0.732 GB, free: 1.922 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/0.003179, allocations: 85.23 kB / 0.7321 GB, free: 1.836 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.003198, allocations: 79.28 kB / 0.7322 GB, free: 1.758 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.003232, allocations: 105.8 kB / 0.7323 GB, free: 1.645 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 5.51e-07/0.003232, allocations: 0.5 kB / 0.7323 GB, free: 1.645 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 5.267e-05/0.003285, allocations: 39.22 kB / 0.7323 GB, free: 1.602 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.003324, allocations: 126.7 kB / 0.7325 GB, free: 1.465 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.779e-05/0.003412, allocations: 144.8 kB / 0.7326 GB, free: 1.312 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.003421, allocations: 25.7 kB / 0.7326 GB, free: 1.281 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.003476, allocations: 124.4 kB / 0.7327 GB, free: 1.156 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/0.00348, allocations: 4 kB / 0.7327 GB, free: 1.152 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.003506, allocations: 26.97 kB / 0.7328 GB, free: 1.121 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.493e-05/0.003581, allocations: 322.8 kB / 0.7331 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.284e-06/0.003589, allocations: 7.984 kB / 0.7331 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.834e-05/0.003617, allocations: 52.45 kB / 0.7331 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.668e-05/0.003674, allocations: 76.06 kB / 0.7332 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.003676, allocations: 4.656 kB / 0.7332 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.335e-05/0.003759, allocations: 79.52 kB / 0.7333 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.003771, allocations: 6.969 kB / 0.7333 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.003777, allocations: 5.25 kB / 0.7333 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.003792, allocations: 4 kB / 0.7333 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.914e-05/0.003841, allocations: 19.98 kB / 0.7333 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.003847, allocations: 4.781 kB / 0.7333 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.112e-05/0.003868, allocations: 7.938 kB / 0.7333 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.003872, allocations: 4.531 kB / 0.7333 GB, free: 496 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.786e-05/0.00394, allocations: 194.1 kB / 0.7335 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.003974, allocations: 105 kB / 0.7336 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.191e-05/0.004015, allocations: 116.7 kB / 0.7337 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.154e-05/0.004067, allocations: 181.2 kB / 0.7339 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.043e-05/0.004107, allocations: 180.2 kB / 0.7341 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.111e-05/0.004149, allocations: 185.5 kB / 0.7343 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.004275, allocations: 337.3 kB / 0.7346 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.578e-05/0.004301, allocations: 104.9 kB / 0.7347 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.45e-05/0.004326, allocations: 105.5 kB / 0.7348 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.004363, allocations: 112.9 kB / 0.7349 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.021e-05/0.004404, allocations: 177.8 kB / 0.7351 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.299e-05/0.004447, allocations: 180.2 kB / 0.7352 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.1e-05/0.004488, allocations: 184.2 kB / 0.7354 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-05/0.004527, allocations: 180.5 kB / 0.7356 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.411e-05/0.004621, allocations: 316.4 kB / 0.7359 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.004667, allocations: 180.2 kB / 0.736 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.356e-05/0.00472, allocations: 101.7 kB / 0.7361 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.004761, allocations: 180.3 kB / 0.7363 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.004784, allocations: 105.7 kB / 0.7364 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.719e-05/0.004812, allocations: 34.53 kB / 0.7365 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004812, allocations: 5.969 kB / 0.7365 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001189/0.00493, allocations: 7.953 kB / 0.7365 GB, free: 13.11 MB / 0.7136 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 (0): * Single equations (assignments): 0 * 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.0001012/0.005032, allocations: 151.7 kB / 0.7366 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.517e-05/0.005097, allocations: 38.06 kB / 0.7366 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.005101, allocations: 5.25 kB / 0.7366 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.495e-06/0.005104, allocations: 0 / 0.7366 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.005308, allocations: 472.2 kB / 0.7371 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002068/0.005515, allocations: 236.2 kB / 0.7373 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.313e-05/0.005548, allocations: 64.28 kB / 0.7374 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.994e-05/0.005578, allocations: 3.984 kB / 0.7374 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.663e-05/0.005634, allocations: 55.38 kB / 0.7374 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of SimCode: time 7.82e-07/0.005635, allocations: 0 / 0.7374 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of Templates: time 0.001762/0.007397, allocations: 258.8 kB / 0.7377 GB, free: 11.81 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.905412147752941]