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.000852/0.000852, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001005/0.001857, allocations: 449.7 kB / 10.37 MB, free: 324 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.0006852/0.0006852, allocations: 165.2 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009476/0.001633, allocations: 459.6 kB / 11.71 MB, free: 2.453 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.9802/0.9802, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1048/1.085, allocations: 53.65 MB / 243.3 MB, free: 15.6 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.89/1.89, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4954/2.385, allocations: 123.3 MB / 0.728 GB, free: 5.832 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.322e-06/1.322e-06, allocations: 0 / 0.7293 GB, free: 4.531 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058e-05/1.19e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001194/0.001206, allocations: 0.8671 MB / 0.7302 GB, free: 3.688 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 7.532e-05/0.001281, allocations: 48.48 kB / 0.7302 GB, free: 3.641 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.346e-05/0.001314, allocations: 0 / 0.7302 GB, free: 3.641 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.485e-05/0.001339, allocations: 3.938 kB / 0.7302 GB, free: 3.637 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.624e-05/0.001375, allocations: 18.27 kB / 0.7303 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.176e-05/0.001407, allocations: 20.48 kB / 0.7303 GB, free: 3.602 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.974e-05/0.001497, allocations: 58.45 kB / 0.7303 GB, free: 3.555 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.325e-05/0.00159, allocations: 28.75 kB / 0.7304 GB, free: 3.527 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.143e-05/0.001672, allocations: 58.44 kB / 0.7304 GB, free: 3.477 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.921e-05/0.001721, allocations: 14.62 kB / 0.7304 GB, free: 3.469 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.00174, allocations: 4 kB / 0.7304 GB, free: 3.465 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.044e-06/0.001747, allocations: 4.844 kB / 0.7304 GB, free: 3.461 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.001763, allocations: 11.94 kB / 0.7304 GB, free: 3.449 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.481e-05/0.001787, allocations: 20.59 kB / 0.7305 GB, free: 3.43 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.913e-05/0.001866, allocations: 39.78 kB / 0.7305 GB, free: 3.391 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.344e-05/0.00188, allocations: 0.5312 kB / 0.7305 GB, free: 3.391 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.62e-07/0.001881, allocations: 0.9375 kB / 0.7305 GB, free: 3.391 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.435e-05/0.001895, allocations: 0 / 0.7305 GB, free: 3.391 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.0003308/0.002226, allocations: 296.9 kB / 0.7308 GB, free: 3.074 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.002254, allocations: 8.031 kB / 0.7308 GB, free: 3.066 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.585e-05/0.00228, allocations: 9.75 kB / 0.7308 GB, free: 3.059 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.002398, allocations: 141.5 kB / 0.7309 GB, free: 2.895 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.002406, allocations: 4.875 kB / 0.7309 GB, free: 2.891 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.002416, allocations: 17.55 kB / 0.731 GB, free: 2.875 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.844e-05/0.002504, allocations: 75.94 kB / 0.731 GB, free: 2.789 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.002512, allocations: 4.125 kB / 0.731 GB, free: 2.785 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.002518, allocations: 384 / 0.731 GB, free: 2.785 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.002525, allocations: 5.219 kB / 0.731 GB, free: 2.781 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.843e-05/0.002553, allocations: 27.84 kB / 0.7311 GB, free: 2.754 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.002877, allocations: 0.4993 MB / 0.7316 GB, free: 2.223 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.526e-05/0.002932, allocations: 177.3 kB / 0.7317 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.8e-05/0.00295, allocations: 80.14 kB / 0.7318 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.002967, allocations: 75.28 kB / 0.7319 GB, free: 1.883 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.002997, allocations: 105.8 kB / 0.732 GB, free: 1.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 6.42e-07/0.002997, allocations: 4.812 kB / 0.732 GB, free: 1.766 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 4.304e-05/0.00304, allocations: 29.69 kB / 0.732 GB, free: 1.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.003081, allocations: 127.4 kB / 0.7321 GB, free: 1.594 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.57e-05/0.003156, allocations: 148.8 kB / 0.7323 GB, free: 1.438 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.003164, allocations: 27.23 kB / 0.7323 GB, free: 1.406 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.857e-05/0.003212, allocations: 127.8 kB / 0.7324 GB, free: 1.277 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.651e-06/0.003218, allocations: 0 / 0.7324 GB, free: 1.277 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.468e-05/0.003243, allocations: 29.66 kB / 0.7325 GB, free: 1.242 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.61e-05/0.003309, allocations: 319.6 kB / 0.7328 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.542e-06/0.003315, allocations: 4 kB / 0.7328 GB, free: 0.918 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.055e-05/0.003346, allocations: 59.75 kB / 0.7328 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.804e-05/0.003394, allocations: 68.98 kB / 0.7329 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.003396, allocations: 1.094 kB / 0.7329 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.607e-05/0.003472, allocations: 75.23 kB / 0.733 GB, free: 0.668 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.003483, allocations: 8 kB / 0.733 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.003488, allocations: 4 kB / 0.733 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.003497, allocations: 4.719 kB / 0.733 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.255e-05/0.00354, allocations: 13.03 kB / 0.733 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.003543, allocations: 4 kB / 0.733 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/0.003563, allocations: 7.938 kB / 0.733 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-06/0.003566, allocations: 0.5312 kB / 0.733 GB, free: 0.6289 MB / 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.49e-05/0.003631, allocations: 202.6 kB / 0.7332 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.003664, allocations: 105 kB / 0.7333 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.583e-05/0.0037, allocations: 116.8 kB / 0.7334 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.475e-05/0.003735, allocations: 184.2 kB / 0.7336 GB, free: 0 / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-05/0.003782, allocations: 189.5 kB / 0.7338 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.53e-05/0.003818, allocations: 180.2 kB / 0.7339 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.003943, allocations: 329.4 kB / 0.7342 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.282e-05/0.003966, allocations: 110.2 kB / 0.7343 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.112e-05/0.003987, allocations: 101 kB / 0.7344 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/0.004022, allocations: 112.9 kB / 0.7346 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.095e-05/0.004063, allocations: 180.2 kB / 0.7347 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.005e-05/0.004103, allocations: 185 kB / 0.7349 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.595e-05/0.004139, allocations: 180.2 kB / 0.7351 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.528e-05/0.004174, allocations: 177.1 kB / 0.7352 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.618e-05/0.00426, allocations: 316.5 kB / 0.7355 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.004304, allocations: 176.3 kB / 0.7357 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.504e-05/0.004349, allocations: 113.7 kB / 0.7358 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.00439, allocations: 180.3 kB / 0.736 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.004413, allocations: 105.7 kB / 0.7361 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.218e-05/0.004435, allocations: 30.55 kB / 0.7361 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004435, allocations: 0 / 0.7361 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001262/0.004561, allocations: 13.33 kB / 0.7361 GB, free: 13.24 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 6.97e-05/0.004631, allocations: 151.7 kB / 0.7363 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.664e-05/0.004687, allocations: 39.17 kB / 0.7363 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.004691, allocations: 0 / 0.7363 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.41e-07/0.004691, allocations: 0 / 0.7363 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.004872, allocations: 468.9 kB / 0.7368 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001874/0.005059, allocations: 231.9 kB / 0.737 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.253e-05/0.005091, allocations: 60.52 kB / 0.737 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.861e-05/0.00512, allocations: 12.25 kB / 0.7371 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.005145, allocations: 51.38 kB / 0.7371 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of SimCode: time 5e-07/0.005145, allocations: 0 / 0.7371 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of Templates: time 0.001557/0.006702, allocations: 335.2 kB / 0.7374 GB, free: 11.88 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.836040390655398]